Corrected core profile selection
According to GLX_create_context, the correct flag for a core profile is GLX_CONTEXT_CORE_PROFILE_BIT_ARB.
This commit is contained in:
parent
f142dbdfc3
commit
803c575201
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ namespace OpenTK.Platform.X11
|
|||
{
|
||||
ArbCreateContext result = 0;
|
||||
result |= (flags & GraphicsContextFlags.ForwardCompatible) != 0 ?
|
||||
ArbCreateContext.ForwardCompatibleBit : ArbCreateContext.CompatibilityProfileBit;
|
||||
ArbCreateContext.CoreProfileBit : ArbCreateContext.CompatibilityProfileBit;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue