dxx-rebirth/similar
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 Use constexpr integral_constant for various magic numbers 2017-10-14 17:10:30 +00:00
arch Make SDL-only SDL_Surface pointers static 2018-03-02 03:19:02 +00:00
editor Pass vertex factory to compute_center_point_on_side 2018-03-12 03:43:47 +00:00
main change SYNC_GL_AUTO mode to disable GL sync if VSync is turned off 2018-04-23 04:57:48 +00:00
misc Replace useless printf with puts 2017-12-05 05:29:55 +00:00