From 74d5fc8f40eabc0d7264385e7fa4b4a1121efada Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 28 Feb 2009 22:33:30 +0000 Subject: [PATCH] Fixed GL1.1 fallback when GL.BlendColor is not supported. --- Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs index da0e1631..e4b783b3 100644 --- a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs @@ -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);