mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:35:34 +00:00
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
|
@ -227,7 +227,7 @@ namespace OpenTK.Platform.X11
|
||||||
{
|
{
|
||||||
ArbCreateContext result = 0;
|
ArbCreateContext result = 0;
|
||||||
result |= (flags & GraphicsContextFlags.ForwardCompatible) != 0 ?
|
result |= (flags & GraphicsContextFlags.ForwardCompatible) != 0 ?
|
||||||
ArbCreateContext.ForwardCompatibleBit : ArbCreateContext.CompatibilityProfileBit;
|
ArbCreateContext.CoreProfileBit : ArbCreateContext.CompatibilityProfileBit;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue