mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
18 lines
348 B
C
18 lines
348 B
C
#include "shaders_common.h"
|
|
|
|
static const char *nuklear_vertex_shader = GLSL_330(
|
|
uniform mat4 ProjMtx;
|
|
in vec2 Position;
|
|
in vec2 TexCoord;
|
|
in vec4 Color;
|
|
out vec2 Frag_UV;
|
|
out vec4 Frag_Color;
|
|
|
|
void main()
|
|
{
|
|
Frag_UV = TexCoord;
|
|
Frag_Color = Color;
|
|
gl_Position = ProjMtx * vec4(Position.xy, 0, 1);
|
|
}
|
|
);
|