From fe8a879cd1ddb75be8fb002ff34ad38b2dc3fad7 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 5 Apr 2007 23:54:39 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@930 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index a7cc57b2..41fdaa89 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -312,7 +312,7 @@ int main(int argc, char **argv) fps = (1000.0f/elapsed+fps*10)/11; computeraytable(camera1->o.x, camera1->o.y); - SDL_GL_SwapBuffers(); + if(frames>4) SDL_GL_SwapBuffers(); extern void updatevol(); updatevol(); if(frames>3) gl_drawframe(scr_w, scr_h, fpshighfps ? fps/highfps : 1.0f), fps); //SDL_Delay(100);