mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
c85ffb90af
This reverts commit 3eab3f5eb7
.
12 lines
232 B
GLSL
12 lines
232 B
GLSL
uniform mat4x2 gPos;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(gPos * vec4(gl_Vertex.xy, 0.0, 1.0), 0.0, 1.0);
|
|
#ifdef TW_TEXTURED
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
#endif
|
|
gl_FrontColor = gl_Color.rgba;
|
|
gl_BackColor = gl_Color.rgba;
|
|
}
|