forked from id-Software/Quake-III-Arena
-
-
Notifications
You must be signed in to change notification settings - Fork 571
Open
Description
According to SDL2 documentation, OpenGL attributes should be set before window creation:
https://wiki.libsdl.org/SDL2/SDL_GL_SetAttribute
However, version attributes are set after window creation here:
Line 742 in 8c48475
| SDL_GL_SetAttribute( SDL_GL_CONTEXT_PROFILE_MASK, contexts[type].profileMask ); |
I don't know if this causes problems on any major systems, but for example on AmigaOS 4, OpenGL library is selected based these attributes so this doesn't work properly if version is set afterwards.
Metadata
Metadata
Assignees
Labels
No labels