From 30ce0b09357064f1bc1f00f5e3119eb6a0aba669 Mon Sep 17 00:00:00 2001 From: rexim Date: Thu, 24 Oct 2019 00:22:23 +0700 Subject: [PATCH] Use old shader versions @rexim is running is program on a potato --- src/boomer.fs | 6 +++--- src/boomer.vs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/boomer.fs b/src/boomer.fs index ed601fb..eb4647a 100644 --- a/src/boomer.fs +++ b/src/boomer.fs @@ -1,6 +1,6 @@ -#version 330 core -out vec4 color; -in vec2 texcoord; +#version 130 +out mediump vec4 color; +in mediump vec2 texcoord; uniform sampler2D tex; void main() { diff --git a/src/boomer.vs b/src/boomer.vs index e812e07..33dc952 100644 --- a/src/boomer.vs +++ b/src/boomer.vs @@ -1,6 +1,6 @@ -#version 330 core -layout (location = 0) in vec3 aPos; -layout (location = 1) in vec2 aTexCoord; +#version 130 +in vec3 aPos; +in vec2 aTexCoord; out vec2 texcoord; uniform mat4 transform; void main()