Fix context creation for intel.
This commit is contained in:
parent
551e6cc9c8
commit
e034cd31a0
@ -118,12 +118,12 @@ static HGLRC getMeAGLContext(HDC HDc)
|
||||
int ctx31[] =
|
||||
{
|
||||
WGL_CONTEXT_MAJOR_VERSION_ARB, 3,
|
||||
WGL_CONTEXT_MINOR_VERSION_ARB, 3,
|
||||
WGL_CONTEXT_MINOR_VERSION_ARB, 1,
|
||||
WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB,
|
||||
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
|
||||
0
|
||||
};
|
||||
hrc = wglCreateContextAttribs_ARB(HDc, 0, ctx33);
|
||||
hrc = wglCreateContextAttribs_ARB(HDc, 0, ctx31);
|
||||
if (hrc)
|
||||
return hrc;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user