Switched back to GLSL 1.20 because my laptop is a brick

This commit is contained in:
2020-08-09 11:40:41 +03:00
parent 1362dab2c1
commit 45b0ad2888
11 changed files with 31 additions and 20 deletions

View File

@ -44,7 +44,7 @@ public class CombinedShader extends Shader {
}
private static String combine(String[] resources) {
StringBuilder accumulator = new StringBuilder("#version 140\n");
StringBuilder accumulator = new StringBuilder("#version 120\n");
for (String resourceName : resources) {
Resource resource = getShaderResource(resourceName);