Simple OpenGL program written in C