dxx-rebirth/common
derhass 38815ba10b change SYNC_GL_AUTO mode to disable GL sync if VSync is turned off
Users with disabled VSync might not expect any forced waiting on the GPU,
and the GL sync methods were intented to fix issues with VSync only,
so the new heuristic for SYNC_GL_AUTO is to enable GL sync only if
VSync is enabled, too.

Users can still request to use a specific GL sync method via the
-gl_syncmethod switch, independent of the VSync setting.

[Kp: folded `else { if () }` into `else if ()` to avoid moving
`ogl_have_ARB_sync` lines.  Original change visible at
<https://github.com/dxx-rebirth/dxx-rebirth/pull/381>.]
2018-04-23 04:57:48 +00:00
..
2d Remove build_colormap_good parameter used 2018-03-08 04:21:18 +00:00
3d Simplify calc_rod_corners loops 2017-08-26 19:47:51 +00:00
arch change SYNC_GL_AUTO mode to disable GL sync if VSync is turned off 2018-04-23 04:57:48 +00:00
editor Simplify calls to gr_set_default_canvas 2017-11-05 20:49:08 +00:00
include Pass vms_matrix &to vms_matrix_from_quaternion 2018-03-31 21:53:01 +00:00
main Add support for shuffling powerups in anarchy games 2018-04-12 04:19:35 +00:00
maths Pass vms_matrix &to vms_matrix_from_quaternion 2018-03-31 21:53:01 +00:00
mem
misc Simplify reporting fatal errors 2017-08-11 23:43:52 +00:00
texmap Move various SDL-only texture mapping functions to !DXX_USE_OGL 2017-11-01 02:01:21 +00:00
ui Convert various gr_set_current_canvas calls to reference form 2017-11-05 20:49:08 +00:00