medfall

A super great game engine
Log | Files | Refs

commit bc1f38fa6c70cc99df5af342dd8ef3ee843e0537
parent fab996d3bcc3b85ab437a2008d40bd6b486b8d31
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Apr 30 13:05:52 +0300

Correct screen height in text renderer

Diffstat:
text_renderer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/text_renderer.cc b/text_renderer.cc @@ -15,7 +15,7 @@ static const char * vert_src = GLSL( void main() { vec3 screen_position = vec3( ( position.x / 1024.0 * 2.0 - 1.0 ), - -( position.y / 800.0 * 2.0 - 1.0 ), + -( position.y / 768.0 * 2.0 - 1.0 ), position.z ); gl_Position = vec4( screen_position, 1.0 );