Use GLSL 1.3 for now, since it just works.

This commit is contained in:
Kitlith 2015-05-08 15:48:41 -07:00
parent 13a67561bf
commit 9b3f3c7e16

View File

@ -7,7 +7,7 @@
namespace GLShaders { namespace GLShaders {
const char g_vertex_shader[] = R"( const char g_vertex_shader[] = R"(
#version 120 core #version 130
in vec2 vert_position; in vec2 vert_position;
in vec2 vert_tex_coord; in vec2 vert_tex_coord;
@ -30,7 +30,7 @@ void main() {
)"; )";
const char g_fragment_shader[] = R"( const char g_fragment_shader[] = R"(
#version 120 core #version 130
in vec2 frag_tex_coord; in vec2 frag_tex_coord;
out vec4 color; out vec4 color;