mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 22:35:45 +00:00
Fixed GL1.1 fallback when GL.BlendColor is not supported.
This commit is contained in:
parent
66fd1f0915
commit
faba9c42a7
|
@ -244,7 +244,7 @@ namespace OpenTK.Graphics.Text
|
|||
|
||||
public static GL1TextOutputProvider Create(TextQuality quality)
|
||||
{
|
||||
if (!GL.SupportsFunction("BlendFunc") || quality == TextQuality.Low || quality == TextQuality.Medium)
|
||||
if (!GL.SupportsExtension("Version12") || !GL.SupportsFunction("BlendColor") || quality == TextQuality.Low || quality == TextQuality.Medium)
|
||||
return new GL11TextOutputProvider(quality);
|
||||
else
|
||||
return new GL12TextOutputProvider(quality);
|
||||
|
|
Loading…
Reference in a new issue