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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user