Fixed crash on AMD related to snow effect

This commit is contained in:
korenkonder
2024-11-30 16:47:05 +03:00
parent 062da49b1f
commit 776ccf84a8
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -338,7 +338,9 @@ static HGLRC FASTCALL glut_create_context(int64_t a1, int64_t a2, int64_t a3, in
WGL_CONTEXT_MAJOR_VERSION_ARB, 4,
WGL_CONTEXT_MINOR_VERSION_ARB, minor,
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
#ifdef DEBUG
WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB,
#endif
0,
};
ctx = _wglCreateContextAttribsARB(XHDC, 0, attrib_list);;