mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 11:48:36 +01:00
GLES: Correct fragment precision check.
Was breaking on Mali-4xx for example, because not defined.
This commit is contained in:
1 parent
e46701dee6
commit
01809f809f
2 files changed
+2
-2
No files matched your search
@@ -27,7 +27,7 @@
|
||||
|
||||
static const char *depth_dl_fs = R"(
|
||||
#ifdef GL_ES
|
||||
#if GL_FRAGMENT_PRECISION_HIGH
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
static const char *stencil_fs = R"(
|
||||
#ifdef GL_ES
|
||||
#if GL_FRAGMENT_PRECISION_HIGH
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float; // just hope it's enough..
|
||||
|
||||
Reference in new issue
Block a user