From 68fcd4676cc6f4ffce2597690d2fca26f782f3d6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 3 Dec 2022 01:59:49 +0000 Subject: Check error state during setup, set OpenGL version to 3.3 core Updates all shaders to 330 core too. --- gfx/gl/shaders/uiShader.fs | 2 +- gfx/gl/shaders/uiShader.vs | 2 +- gfx/gl/shaders/uiShaderFont.fs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gfx') 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; -- cgit v1.2.3