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

in vec4 position;

out vec2 texCoord0;
uniform mat4 uiProjection;

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