
Bad texture matrix in TextPrinter
Posted Thursday, 23 April, 2009 - 08:32 by iliak inIn my 2D framework, I set my texture matrix to match 1:1 on the texture (ie not from 0.0...1.0 as the default behaviour, but 0...255 if the width if 256). When I try to print text with OpenTK.Graphics.TextPrinter.Print() the projection matrix is not reseted to default. As a result, text is not printed on the screen.
As a workaround, here's my code :
GL.MatrixMode(MatrixMode.Texture); GL.LoadIdentity();


Comments
Re: Bad texture matrix in TextPrinter
You are right, please file a bug report and I'll fix it for the next version.