mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Fix profile not being used
This commit is contained in:
parent
d49a6e228b
commit
82db74b17a
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ HGLRC OpenGLCreationHelper::CreateContext(HDC hdc, HGLRC share_context)
|
|||
int_attributes.push_back(WGL_CONTEXT_MINOR_VERSION_ARB);
|
||||
int_attributes.push_back(version % 10);
|
||||
int_attributes.push_back(0x9126); // WGL_CONTEXT_PROFILE_MASK_ARB
|
||||
int_attributes.push_back(0x1); // WGL_CONTEXT_CORE_PROFILE_BIT_ARB
|
||||
int_attributes.push_back(profile);
|
||||
int_attributes.push_back(0);
|
||||
opengl3_context = wglCreateContextAttribsARB(hdc, share_context, int_attributes.data());
|
||||
|
||||
|
|
Loading…
Reference in a new issue