mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-04 03:04:48 +12:00
Fix specialized shaders on Android
This commit is contained in:
parent
fc83d518e2
commit
e5c09a092d
2 changed files with 9 additions and 0 deletions
src/core/renderer_gl
|
@ -44,6 +44,10 @@ void RendererGL::reset() {
|
|||
|
||||
gl.useProgram(oldProgram); // Switch to old GL program
|
||||
}
|
||||
|
||||
#ifdef __ANDROID__
|
||||
fragShaderGen.setTarget(PICA::ShaderGen::API::GLES, PICA::ShaderGen::Language::GLSL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void RendererGL::initGraphicsContextInternal() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue