mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
Fix scr_copyeverything in gl and glsl.
Now the gl renderers unconditionally set it to 1. This is required because the screen is cleared every frame.
This commit is contained in:
parent
bc7cd457e3
commit
0c81364da8
2 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,7 @@ gl_SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc, SCR_Func *scr_funcs)
|
|||
vid.numpages = 2 + gl_triplebuffer->int_val;
|
||||
|
||||
scr_copytop = 0;
|
||||
vr_data.scr_copyeverything = 0;
|
||||
vr_data.scr_copyeverything = 1;
|
||||
|
||||
if (!scr_initialized)
|
||||
return; // not initialized yet
|
||||
|
|
|
@ -169,6 +169,7 @@ glsl_SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc,
|
|||
}
|
||||
|
||||
vr_data.realtime = realtime;
|
||||
vr_data.scr_copyeverything = 1;
|
||||
//FIXME useless cvar? vid.numpages = 2 + gl_triplebuffer->int_val;
|
||||
|
||||
if (!scr_initialized)
|
||||
|
|
Loading…
Reference in a new issue