|
@@ -16,7 +16,6 @@ precision highp int;
|
|
|
|
|
|
#define M_PI 3.14159265359
|
|
|
|
|
|
-
|
|
|
//
|
|
|
// attributes
|
|
|
//
|
|
@@ -676,14 +675,12 @@ VERTEX_SHADER_CODE
|
|
|
[fragment]
|
|
|
|
|
|
#ifndef USE_GLES_OVER_GL
|
|
|
-
|
|
|
#ifdef GL_EXT_shader_texture_lod
|
|
|
#extension GL_EXT_shader_texture_lod : enable
|
|
|
#define texture2DLod(img, coord, lod) texture2DLodEXT(img, coord, lod)
|
|
|
#define textureCubeLod(img, coord, lod) textureCubeLodEXT(img, coord, lod)
|
|
|
#endif
|
|
|
-
|
|
|
-#endif
|
|
|
+#endif // !USE_GLES_OVER_GL
|
|
|
|
|
|
#ifdef GL_ARB_shader_texture_lod
|
|
|
#extension GL_ARB_shader_texture_lod : enable
|
|
@@ -694,9 +691,6 @@ VERTEX_SHADER_CODE
|
|
|
#define textureCubeLod(img, coord, lod) textureCube(img, coord, lod)
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
#ifdef USE_GLES_OVER_GL
|
|
|
#define lowp
|
|
|
#define mediump
|
|
@@ -709,7 +703,7 @@ precision highp int;
|
|
|
precision mediump float;
|
|
|
precision mediump int;
|
|
|
#endif
|
|
|
-#endif
|
|
|
+#endif // USE_GLES_OVER_GL
|
|
|
|
|
|
#include "stdlib.glsl"
|
|
|
|