Removed direct GL calls from finderrors.c ... trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 27 Apr 2008 05:42:04 -0400
branchtrunk
changeset 228 fa70fd53eb59
parent 227 c6192a343fef
child 229 67a3d459d865
Removed direct GL calls from finderrors.c ... Don't really need them.
finderrors.c
--- a/finderrors.c	Sun Apr 27 05:40:53 2008 -0400
+++ b/finderrors.c	Sun Apr 27 05:42:04 2008 -0400
@@ -39,7 +39,6 @@
                 if (e.type == SDL_QUIT)
                     do_quit = 1;
             } // while
-            glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
             SDL_GL_SwapBuffers();
             #endif
 
@@ -114,7 +113,6 @@
         SDL_Init(SDL_INIT_VIDEO);
         SDL_GL_LoadLibrary(NULL);
         SDL_SetVideoMode(640, 480, 0, SDL_OPENGL);
-        glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
         if (!MOJOSHADER_glInit(profile, SDL_GL_GetProcAddress, 0, 0, 0))
         {
             printf("MOJOSHADER_glInit() fail: %s\n", MOJOSHADER_glGetError());