mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +00:00
2f62b744fa
the background. This is achieved by doing only a (qf)glFlush at the end of the frame, doing the inter rendering-frame processing (ie, client frame processing), glFinish, glXSwapBuffers, then starting the next frame. I've changed the glFinish call in SCR_UpdateScreen to glFlush and the glFlush call in GL_EndRendering to glFinish because there's no point in calling glFinish followed by glFlush. Also, SwapBuffers should always be precedded by glFinish rather than just glFlush (in Lordhavoc's experience). The GL_EndRendering at the end of SCR_UpdateScreen got moved to the beginning. |
||
---|---|---|
.. | ||
.gitignore | ||
gl_draw.c | ||
gl_dyn_lights.c | ||
gl_dyn_part.c | ||
gl_dyn_textures.c | ||
gl_funcs.c | ||
gl_graph.c | ||
gl_mod_alias.c | ||
gl_mod_sprite.c | ||
gl_rmain.c | ||
gl_rmisc.c | ||
gl_rsurf.c | ||
gl_screen.c | ||
gl_skin.c | ||
gl_sky.c | ||
gl_sky_clip.c | ||
gl_textures.c | ||
gl_warp.c | ||
Makefile.am | ||
noisetextures.c |