mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix GLSL version detection bug. Fixes #13631
This commit is contained in:
parent
381ca11561
commit
6a1e669c45
1 changed files with 1 additions and 0 deletions
|
@ -607,6 +607,7 @@ OpenGLContext::OpenGLContext() {
|
|||
|
||||
// Detect shader language features.
|
||||
if (gl_extensions.IsGLES) {
|
||||
shaderLanguageDesc_.gles = true;
|
||||
if (gl_extensions.GLES3) {
|
||||
shaderLanguageDesc_.shaderLanguage = ShaderLanguage::GLSL_3xx;
|
||||
shaderLanguageDesc_.glslVersionNumber = 300; // GLSL ES 3.0
|
||||
|
|
Loading…
Add table
Reference in a new issue