Ported fix for bug [#1005]: Using TextPrinterOptions.Default does not allow text to change color
This commit is contained in:
parent
e4c1a2b0b4
commit
9806230a2e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue