diff --git a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs index e4b783b3..8da65531 100644 --- a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs @@ -198,6 +198,10 @@ namespace OpenTK.Graphics.Text GL.PushMatrix(); GL.LoadIdentity(); + GL.MatrixMode(MatrixMode.Texture); + GL.PushMatrix(); + GL.LoadIdentity(); + GL.MatrixMode((MatrixMode)current_matrix); } @@ -215,6 +219,9 @@ namespace OpenTK.Graphics.Text int current_matrix; GL.GetInteger(GetPName.MatrixMode, out current_matrix); + GL.MatrixMode(MatrixMode.Texture); + GL.PopMatrix(); + GL.MatrixMode(MatrixMode.Modelview); GL.PopMatrix();