aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-10-22 01:45:13 +0300
committerTomasz Kramkowski <tk@the-tk.com>2018-10-22 01:45:13 +0300
commit06d028e6a6b7d32de7201b2acfec7e54d08103dc (patch)
treeda638869841914936002991667be3219186c4027
parent0cd7f50e11d89311762ae062bb1cfa876a317353 (diff)
downloadfaqe-06d028e6a6b7d32de7201b2acfec7e54d08103dc.tar.gz
faqe-06d028e6a6b7d32de7201b2acfec7e54d08103dc.tar.xz
faqe-06d028e6a6b7d32de7201b2acfec7e54d08103dc.zip
Switch to shader version 1.5 to match OpenGL 3.2 requirement
OpenGL 3.3 was the first version of OpenGL where the shader program versioning scheme was made to follow the GL versioning scheme. Now that we have vulkan, it's mismatched again. That's all irrelevant, the correct version of GLSL for OpenGL 3.2 is not 3.3 or 3.2 but actually 1.5.
-rw-r--r--shaders/data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/data.h b/shaders/data.h
index 0225212..d7fbfd3 100644
--- a/shaders/data.h
+++ b/shaders/data.h
@@ -7,7 +7,7 @@
#undef SH_PROG
#endif // SH_PROG
#ifdef SH_VER
- SH_VER("330 core")
+ SH_VER("150 core")
#undef SH_VER
#endif // SH_VER
#ifdef SH_IN