mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
also use shaderCaches in rasterFont
This commit is contained in:
parent
316a33d1e6
commit
193056493a
4 changed files with 29 additions and 14 deletions
|
@ -31,7 +31,7 @@ static GLuint program;
|
|||
|
||||
// Rasterfont isn't compatible with GLES
|
||||
#ifndef USE_GLES
|
||||
RasterFont* s_pfont = NULL;
|
||||
OGL::RasterFont* s_pfont = NULL;
|
||||
#endif
|
||||
|
||||
void SWRenderer::Init()
|
||||
|
@ -85,7 +85,7 @@ void SWRenderer::Prepare()
|
|||
CreateShaders();
|
||||
// TODO: Enable for GLES once RasterFont supports GLES
|
||||
#ifndef USE_GLES
|
||||
s_pfont = new RasterFont();
|
||||
s_pfont = new OGL::RasterFont();
|
||||
glEnable(GL_TEXTURE_RECTANGLE_ARB);
|
||||
#endif
|
||||
GL_REPORT_ERRORD();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue