aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
diff options
context:
space:
mode:
authorVixid <52578495+VixidDev@users.noreply.github.com>2024-03-14 19:56:09 +0000
committerGitHub <noreply@github.com>2024-03-14 20:56:09 +0100
commite0bfda736f6543398ed753e6a4bf24eb7985e94f (patch)
tree717687a9fd10d2cb1e1e0146365e1c1da7c9ddba /src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
parent36bba09d6d06177a36bada991777f21ebdd6b7aa (diff)
downloadskyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.tar.gz
skyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.tar.bz2
skyhanni-e0bfda736f6543398ed753e6a4bf24eb7985e94f.zip
Fix: Revert shader version for Mac compatibility (#1176)
Diffstat (limited to 'src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh')
-rw-r--r--src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh b/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
index eebf95c82..5dad3950f 100644
--- a/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
+++ b/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
@@ -1,10 +1,10 @@
// Textured Chroma Vertex Shader
// Credit: https://github.com/BiscuitDevelopment/SkyblockAddons/blob/main/src/main/resources/assets/skyblockaddons/shaders/program/chroma_screen_textured.vsh
-#version 130
+#version 120
-out vec2 outTextureCoords;
-out vec4 outColor;
+varying vec2 outTextureCoords;
+varying vec4 outColor;
void main() {
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
@@ -12,4 +12,4 @@ void main() {
// Pass the color & texture coords to the fragment shader
outColor = gl_Color;
outTextureCoords = gl_MultiTexCoord0.st;
-} \ No newline at end of file
+}