mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-07 15:52:59 +12:00
Add build option for opengl profile (#592)
* Add opengl_profile build option on android the option is set to OpenGLES by default * Replace android checks with using_gles
This commit is contained in:
parent
595e4e0341
commit
4adc50039c
3 changed files with 16 additions and 2 deletions
|
@ -49,7 +49,7 @@ void RendererGL::reset() {
|
|||
gl.useProgram(oldProgram); // Switch to old GL program
|
||||
}
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#ifdef USING_GLES
|
||||
fragShaderGen.setTarget(PICA::ShaderGen::API::GLES, PICA::ShaderGen::Language::GLSL);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue