Merge pull request #427 from uyjulian/add_forward_compatilbe_gl_core_context

WGL GSdx forward compatible bit

(I think it is for wine)
This commit is contained in:
Gregory Hainaut 2015-01-16 21:02:13 +01:00
commit 1295b46a49
1 changed files with 3 additions and 1 deletions

View File

@ -57,9 +57,11 @@ bool GSWndWGL::CreateContext(int major, int minor)
// FIXME : Request a debug context to ease opengl development
// Note: don't support deprecated feature (pre openg 3.1)
//GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB | GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,
WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
#ifdef ENABLE_OGL_DEBUG
WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB,
| WGL_CONTEXT_DEBUG_BIT_ARB
#endif
,
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
0
};