浏览代码

remove unneeded checks

Johnny Cena 3 周之前
父节点
当前提交
a99649b455

+ 1 - 2
examples/models/resources/shaders/glsl100/voxel_lighting.fs

@@ -1,7 +1,6 @@
 #version 100
 #version 100
-#ifdef GL_ES
+
 precision mediump float;
 precision mediump float;
-#endif
 
 
 // Input from vertex shader
 // Input from vertex shader
 varying vec3 fragPosition;
 varying vec3 fragPosition;

+ 1 - 2
examples/models/resources/shaders/glsl100/voxel_lighting.vs

@@ -1,7 +1,6 @@
 #version 100
 #version 100
-#ifdef GL_ES
+
 precision mediump float;
 precision mediump float;
-#endif
 
 
 // Input vertex attributes
 // Input vertex attributes
 attribute vec3 vertexPosition;
 attribute vec3 vertexPosition;