From 6e7bb4c3e13c72a0432caaa1c4192abb95b81707 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 27 Apr 2008 05:42:04 -0400 Subject: [PATCH] Removed direct GL calls from finderrors.c ... Don't really need them. --HG-- branch : trunk --- finderrors.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/finderrors.c b/finderrors.c index 38cbdcbc..f9132b44 100644 --- a/finderrors.c +++ b/finderrors.c @@ -39,7 +39,6 @@ static int do_dir(const char *dname, const char *profile) 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 @@ int main(int argc, char **argv) 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());