GLES: Correct fragment precision check.

Was breaking on Mali-4xx for example, because not defined.
This commit is contained in:
Unknown W. Brackets committed 2018-12-23 20:16:59 -08:00
1 parent e46701dee6
commit 01809f809f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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..