Disable the gl_triplebuffer check in glsl.

It doesn't seem to have any useful effect in QF (even before the plugin
project) other than setting the number of frames to update. I'm not sure if
it's a useless variable or one where the user is supposed to match it to
the system configuration. Anyway, with this, the glsl plugin now works.
This commit is contained in:
Bill Currie 2012-04-12 14:40:02 +09:00
parent 8401704c4e
commit e784754a11

View file

@ -171,7 +171,7 @@ glsl_SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc,
}
vr_data.realtime = realtime;
vid.numpages = 2 + gl_triplebuffer->int_val;
//FIXME useless cvar? vid.numpages = 2 + gl_triplebuffer->int_val;
if (!scr_initialized)
return;