mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
ogl: fix rasterfont
This commit is contained in:
parent
c5188c76b3
commit
5205d7baa6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user