Merge pull request #706 from degasus/master

ogl: fix rasterfont
This commit is contained in:
Ryan Houdek 2014-07-31 12:08:54 -05:00
commit 842f8888f8
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ RasterFont::RasterFont()
// generate shader
ProgramShaderCache::CompileShader(s_shader, s_vertexShaderSrc, s_fragmentShaderSrc);
s_shader.Bind();
// bound uniforms
glUniform2f(glGetUniformLocation(s_shader.glprogid,"charSize"), 1.0f / GLfloat(char_count), 1.0f);