RetroArch/gfx/drivers/gl_shaders/core_opaque.glsl.vert.h
2016-05-28 18:18:23 +02:00

15 lines
302 B
C

#include "shaders_common.h"
static const char *stock_vertex_core = GLSL(
in vec2 TexCoord;
in vec2 VertexCoord;
in vec4 Color;
uniform mat4 MVPMatrix;
out vec2 tex_coord;
void main() {
gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0);
tex_coord = TexCoord;
}
);