mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-13 11:52:08 +00:00
16 lines
449 B
C
16 lines
449 B
C
static const char *stock_vertex_modern_blend =
|
|
"#ifdef GL_ES\n"
|
|
"precision mediump float;\n"
|
|
"#endif\n"
|
|
"attribute vec2 TexCoord;\n"
|
|
"attribute vec2 VertexCoord;\n"
|
|
"attribute vec4 Color;\n"
|
|
"uniform mat4 MVPMatrix;\n"
|
|
"varying vec2 tex_coord;\n"
|
|
"varying vec4 color;\n"
|
|
"void main() {\n"
|
|
" gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0);\n"
|
|
" tex_coord = TexCoord;\n"
|
|
" color = Color;\n"
|
|
"}";
|