summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/uiShader.vs
blob: 0d00fed52ba50d1cd3cd03cad87f79e541eb52b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 130

in vec4 position;

out vec2 texCoord0;
uniform mat4 uiProjection;

void
main()
{
	gl_Position = uiProjection * vec4(position.xy, 0.0, 1.0);
	texCoord0 = position.zw;
}