Removed unnecessary GL comamnds

This commit is contained in:
Rob Pearce 2008-10-16 00:23:42 +00:00
parent 4a6b8eb988
commit f600e0f39a
1 changed files with 4 additions and 4 deletions

8
rc.c
View File

@ -3335,7 +3335,7 @@ void drawlevel(void) {
drawsprite(cloud);
// update screen
SDL_GL_SwapBuffers();
//SDL_GL_SwapBuffers();
SDL_UpdateRect(screen, 0,0,640,480);
SDL_framerateDelay(&manager);
@ -3393,7 +3393,7 @@ void drawlevel(void) {
drawsprite(player);
drawsprite(cloud);
// update screen
SDL_GL_SwapBuffers();
//SDL_GL_SwapBuffers();
SDL_UpdateRect(screen, 0,0,640,480);
SDL_framerateDelay(&manager);
@ -3452,7 +3452,7 @@ void drawlevel(void) {
drawsprite(cloud);
// update screen
SDL_GL_SwapBuffers();
//SDL_GL_SwapBuffers();
SDL_UpdateRect(screen, 0,0,640,480);
SDL_framerateDelay(&manager);
@ -3511,7 +3511,7 @@ void drawlevel(void) {
drawsprite(cloud);
// update screen
SDL_GL_SwapBuffers();
//SDL_GL_SwapBuffers();
SDL_UpdateRect(screen, 0,0,640,480);
SDL_framerateDelay(&manager);