mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
c5b9352c34
This reverts commit 03a8bc9875
.
17 lines
471 B
C
17 lines
471 B
C
#include "shaders_common.h"
|
|
|
|
/* Need to duplicate these to work around broken stuff on Android.
|
|
* Must enforce alpha = 1.0 or 32-bit games can potentially go black. */
|
|
static const char *stock_vertex_xmb_snow = GLSL(
|
|
attribute vec2 TexCoord;
|
|
attribute vec2 VertexCoord;
|
|
attribute vec4 Color;
|
|
uniform mat4 MVPMatrix;
|
|
varying vec2 tex_coord;
|
|
|
|
void main() {
|
|
gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0);
|
|
tex_coord = TexCoord;
|
|
}
|
|
);
|