[SDL] How to set SDL_GL_SWAP_CONTROL
Per Inge Mathisen
per.mathisen at gmail.com
Thu Jun 1 09:11:52 PDT 2006
Per Thulin <petb05 at student.bth.se> wrote:
> How should I set this flag? I've tried sending it with the other flags
> in SDL_SetVideoMode, and setting it via SDL_GL_SetAttribute (before
> calling SDL_SetVideoMode), without any luck.
Set it with SDL_GL_SetAttribute() after setting up video with
SDL_SetVideoMode().
> When asking what its value is using SDL_GL_GetAttrute, I get back
> "2293728". I don't really know how to interpret that.
On which platform, or with which SDL subsystem, is this?
- Per
More information about the SDL
mailing list