Moved comment

Former-commit-id: 63d8ff7494668696550efdf258c372a8e3f3bce4
This commit is contained in:
Lynix 2014-09-14 19:50:46 +02:00
parent c86de3ed7e
commit 91471e048f
1 changed files with 3 additions and 3 deletions

View File

@ -160,15 +160,15 @@ bool NzContextImpl::Create(NzContextParameters& parameters)
{ {
*attrib++ = WGL_CONTEXT_PROFILE_MASK_ARB; *attrib++ = WGL_CONTEXT_PROFILE_MASK_ARB;
*attrib++ = (parameters.compatibilityProfile) ? WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB : WGL_CONTEXT_CORE_PROFILE_BIT_ARB; *attrib++ = (parameters.compatibilityProfile) ? WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB : WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
// Les contextes forward-compatible ne sont plus utilisés pour cette raison :
// http://www.opengl.org/discussion_boards/showthread.php/175052-Forward-compatible-vs-Core-profile
} }
if (parameters.debugMode) if (parameters.debugMode)
{ {
*attrib++ = WGL_CONTEXT_FLAGS_ARB; *attrib++ = WGL_CONTEXT_FLAGS_ARB;
*attrib++ = WGL_CONTEXT_DEBUG_BIT_ARB; *attrib++ = WGL_CONTEXT_DEBUG_BIT_ARB;
// Les contextes forward-compatible ne sont plus utilisés pour cette raison :
// http://www.opengl.org/discussion_boards/showthread.php/175052-Forward-compatible-vs-Core-profile
} }
*attrib++ = 0; *attrib++ = 0;