Implement wzSetSwapInterval for SDL #3054
Comments
Safety0ff edited the issue description |
Safety0ff commented Just needs Mac method and more testing. |
Safety0ff uploaded file |
vexed commented I am not sure why you are doing this, this way, that commit that you showed before shouldn't matter in this case. |
vexed uploaded file |
vexed commented BTW, you need glew 1.7.0 it seems, and that was released on [08-26-11] GLEW 1.7.0. |
Safety0ff commented @ 0001-Enable-Vsync-toggle-with-SDL.patch added: You need GLX_SWAP_INTERVAL_EXT and GLX_MESA_SWAP_control to get best coverage. GLX_SGI_SWAP_control slightly differs from the other two (cannot disable, doesn't include a getter). |
safety0ff commented Add swap interval support for SDL 1.2 backend on Windows and Linux. Refs #3054.
|
dak180 commented The current mac patch has the following issue:
|
Safety0ff uploaded file This should work now. |
Safety0ff changed milestone from |
Safety0ff commented dak180 added the mac build system changes to this patch here: https://github.com/dak180/warzone2100/commits/topic/sdlswap |
safety0ff changed status from |
safety0ff changed resolution from `` to |
safety0ff commented Add Mac SDL swap interval support. Closes #3054. Signed-off-by: dak180
|
safety0ff commented Add swap interval support for SDL 1.2 backend on Windows and Linux. Refs #3054.
|
safety0ff commented Add Mac SDL swap interval support. Closes #3054. Signed-off-by: dak180
|
resolution_fixed
type_to-do (no feature requests!)
| by Safety0ffThis basically amounts to doing the same thing as in lib/qtgame/swapinterval.cpp using SDL_GL_GetProcAddress instead of QGLContext::getProcAddress (for windows and linux).
The mac implementation shouldn't differ much from the qtgame one.
Issue migrated from trac:3054 at 2022-04-16 08:46:59 -0700
The text was updated successfully, but these errors were encountered: