Removed unnecessary GL comamnds
This commit is contained in:
parent
4a6b8eb988
commit
f600e0f39a
8
rc.c
8
rc.c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue