mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-28 16:06:10 +00:00
Fix invalid flag passed to gl context creation
This commit is contained in:
1 parent
b351777650
commit
2a9f36b91f
2 files changed
+5
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# lwjgl3ify 3.0.17
|
||||
|
||||
- Updated to snapshot 7 of LWJGL 3.4.2 - SDL 3.2.8 included
|
||||
- Given a unique ID in the version.json metadata file
|
||||
- Fixed an invalid GL context creation flag value
|
||||
@@ -203,7 +203,6 @@ public class Display {
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, ctxFlags));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, ctxMajor));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, ctxMinor));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG, ctxForwardCompat ? 1 : 0));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, ctxSrgb ? 1 : 0));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, Config.OPENGL_DOUBLEBUFFER ? 1 : 0));
|
||||
Sys.checkSdl(SDL_GL_SetAttribute(SDL_GL_CONTEXT_NO_ERROR, Config.OPENGL_CONTEXT_NO_ERROR ? 1 : 0));
|
||||
|
||||
Reference in new issue
Block a user