Ported fix for bug [#1005]: Using TextPrinterOptions.Default does not allow text to change color

This commit is contained in:
the_fiddler 2009-07-18 08:44:14 +00:00
parent e4c1a2b0b4
commit 9806230a2e

View file

@ -88,6 +88,8 @@ namespace OpenTK.Graphics.Text
RectangleF position;
SetColor(color);
int block_hash = block.GetHashCode();
if (block_cache.ContainsKey(block_hash))
{
@ -166,8 +168,6 @@ namespace OpenTK.Graphics.Text
key.Bind();
SetColor(color);
GL.Begin(BeginMode.Triangles);
for (int i = 0; i < list.Count; i += 2)