summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 01:59:49 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 01:59:49 +0000
commit68fcd4676cc6f4ffce2597690d2fca26f782f3d6 (patch)
tree78788c8552decc8ceb5484bf6c3c4c0e745069b8 /gfx
parentSplit SceneProvider out (diff)
downloadilt-68fcd4676cc6f4ffce2597690d2fca26f782f3d6.tar.bz2
ilt-68fcd4676cc6f4ffce2597690d2fca26f782f3d6.tar.xz
ilt-68fcd4676cc6f4ffce2597690d2fca26f782f3d6.zip
Check error state during setup, set OpenGL version to 3.3 core
Updates all shaders to 330 core too.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/gl/shaders/uiShader.fs2
-rw-r--r--gfx/gl/shaders/uiShader.vs2
-rw-r--r--gfx/gl/shaders/uiShaderFont.fs2
3 files changed, 3 insertions, 3 deletions
diff --git a/gfx/gl/shaders/uiShader.fs b/gfx/gl/shaders/uiShader.fs
index 907c4f1..c5f4e92 100644
--- a/gfx/gl/shaders/uiShader.fs
+++ b/gfx/gl/shaders/uiShader.fs
@@ -1,4 +1,4 @@
-#version 130
+#version 330 core
in vec2 texCoord0;
diff --git a/gfx/gl/shaders/uiShader.vs b/gfx/gl/shaders/uiShader.vs
index 0d00fed..e9e4373 100644
--- a/gfx/gl/shaders/uiShader.vs
+++ b/gfx/gl/shaders/uiShader.vs
@@ -1,4 +1,4 @@
-#version 130
+#version 330 core
in vec4 position;
diff --git a/gfx/gl/shaders/uiShaderFont.fs b/gfx/gl/shaders/uiShaderFont.fs
index bee455d..a1ef6ef 100644
--- a/gfx/gl/shaders/uiShaderFont.fs
+++ b/gfx/gl/shaders/uiShaderFont.fs
@@ -1,4 +1,4 @@
-#version 130
+#version 330 core
in vec2 texCoord0;