add #version 140 to GLSL shaders to fix running with newer OpenGL

This commit is contained in:
josh committed 2019-10-12 16:41:31 -04:00
1 parent e666943830
commit 20a268ccb1
2 files changed
+2

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
#version 140
#ifdef GL_FRAGMENT_PRECISION_HIGH #ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float; precision highp float;
+1
View File
@@ -1,3 +1,4 @@
#version 140
attribute vec3 pos; attribute vec3 pos;
attribute vec3 normal; attribute vec3 normal;