Wow, It's there! Right where you'd think it would be, in the top left corner ( since it has 1,1 as coords).
1. Look closer in the very corners of your window. It may be that there is in fact a small pixel there and the triangle is just too small that you haven't see it yet.
Im such a retard. i THOUGHT i made a 100 pixel large triangle but what I really did was that I increased ALL points by 100 so I only moved the 1 pixel large triangle 100 pixels in the posetive x and y axis. *sigh*
static const GLfloat g_vertex_buffer_data =
1.0f, 1.0f, 0.0f,
100.0f, 1.0f, 0.0f,
0.0f, 100.0f, 0.0f,
Works as intended!
Thanks alot m8!