From 13a67561bf49ed3b6dc05b672cabc7b7d98ae761 Mon Sep 17 00:00:00 2001 From: Kitlith Date: Fri, 8 May 2015 15:06:37 -0700 Subject: [PATCH] Change shaders to use GLSL 1.2, the version used in GL 2.1. --- src/video_core/renderer_opengl/gl_shaders.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_shaders.h b/src/video_core/renderer_opengl/gl_shaders.h index 746a37afe..e34818acc 100644 --- a/src/video_core/renderer_opengl/gl_shaders.h +++ b/src/video_core/renderer_opengl/gl_shaders.h @@ -7,7 +7,7 @@ namespace GLShaders { const char g_vertex_shader[] = R"( -#version 150 core +#version 120 core in vec2 vert_position; in vec2 vert_tex_coord; @@ -30,7 +30,7 @@ void main() { )"; const char g_fragment_shader[] = R"( -#version 150 core +#version 120 core in vec2 frag_tex_coord; out vec4 color;