fix initialization opengl glitch

This commit is contained in:
Eduardo Bart
2012-06-03 17:25:12 -03:00
parent 75f8b255ec
commit 576e775494
5 changed files with 9 additions and 11 deletions

View File

@@ -86,10 +86,6 @@ void Graphics::init()
glEnable(GL_CULL_FACE);
*/
// clear color buffer
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
// determine max texture size
GLint maxTextureSize = 0;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);