Add a version directive to the shaders

This commit is contained in:
2018-02-19 02:15:28 -05:00
parent 17d87e87a7
commit e77d5194a3
2 changed files with 3 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
#version 120
uniform sampler2D texture;
uniform sampler2D mask;
uniform vec2 offset;

View File

@@ -1,3 +1,4 @@
#version 120
uniform mat4 trans;