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

This commit is contained in:
Josh Holtrop 2019-10-12 16:41:31 -04:00
parent e666943830
commit 20a268ccb1
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#version 140
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;

View File

@ -1,3 +1,4 @@
#version 140
attribute vec3 pos;
attribute vec3 normal;