mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 15:11:05 +00:00
Change shaders to use GLSL 1.2, the version used in GL 2.1.
This commit is contained in:
parent
4e01145461
commit
13a67561bf
@ -7,7 +7,7 @@
|
|||||||
namespace GLShaders {
|
namespace GLShaders {
|
||||||
|
|
||||||
const char g_vertex_shader[] = R"(
|
const char g_vertex_shader[] = R"(
|
||||||
#version 150 core
|
#version 120 core
|
||||||
|
|
||||||
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 150 core
|
#version 120 core
|
||||||
|
|
||||||
in vec2 frag_tex_coord;
|
in vec2 frag_tex_coord;
|
||||||
out vec4 color;
|
out vec4 color;
|
||||||
|
Loading…
Reference in New Issue
Block a user