mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:05:36 +00:00
Fixed GL1.1 fallback when GL.BlendColor is not supported.
This commit is contained in:
parent
8112f6df52
commit
74d5fc8f40
|
@ -244,7 +244,7 @@ namespace OpenTK.Graphics.Text
|
||||||
|
|
||||||
public static GL1TextOutputProvider Create(TextQuality quality)
|
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);
|
return new GL11TextOutputProvider(quality);
|
||||||
else
|
else
|
||||||
return new GL12TextOutputProvider(quality);
|
return new GL12TextOutputProvider(quality);
|
||||||
|
|
Loading…
Reference in a new issue