Skip to content

Commit

Permalink
Removed direct GL calls from finderrors.c ...
Browse files Browse the repository at this point in the history
Don't really need them.

--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 27, 2008
1 parent 604bb3e commit 6e7bb4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions finderrors.c
Expand Up @@ -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

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 6e7bb4c

Please sign in to comment.