iliak's picture

Bad texture matrix in TextPrinter

In 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 :



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

You are right, please file a bug report and I'll fix it for the next version.