|
@@ -53,6 +53,7 @@ static const vec2 vertices[4] =
|
|
};
|
|
};
|
|
|
|
|
|
static const char* vertex_shader_text =
|
|
static const char* vertex_shader_text =
|
|
|
|
+"#version 110\n"
|
|
"uniform mat4 MVP;\n"
|
|
"uniform mat4 MVP;\n"
|
|
"attribute vec2 vPos;\n"
|
|
"attribute vec2 vPos;\n"
|
|
"void main()\n"
|
|
"void main()\n"
|
|
@@ -61,6 +62,7 @@ static const char* vertex_shader_text =
|
|
"}\n";
|
|
"}\n";
|
|
|
|
|
|
static const char* fragment_shader_text =
|
|
static const char* fragment_shader_text =
|
|
|
|
+"#version 110\n"
|
|
"void main()\n"
|
|
"void main()\n"
|
|
"{\n"
|
|
"{\n"
|
|
" gl_FragColor = vec4(1.0);\n"
|
|
" gl_FragColor = vec4(1.0);\n"
|