OpenGL initialization and drawing a black screen