Changing gl.glViewport() causes TextRenderer to stretch and resize text.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing gl.glViewport() causes TextRenderer to stretch and resize text.

Schred
Based off of this post about masking, I am using gl.glViewport() to do so.

However, now the TextRenderer displays text relative to the viewport. Meaning it gets stretched out and continuously smaller, which is not what I want. I Included an image of what I mean. Is there a way to fix this?

Reply | Threaded
Open this post in threaded view
|

Re: Changing gl.glViewport() causes TextRenderer to stretch and resize text.

gouessej
Administrator
Which text renderer do you use?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Changing gl.glViewport() causes TextRenderer to stretch and resize text.

Schred
Reply | Threaded
Open this post in threaded view
|

Re: Changing gl.glViewport() causes TextRenderer to stretch and resize text.

Schred
Nevermind, I was using begindRendering the wrong way.