mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-30 00:15:58 +01:00
4d04144b92
The vertex shaders for quads and textures are identical.
9 lines
179 B
GLSL
9 lines
179 B
GLSL
uniform mat3 proj;
|
|
attribute vec2 pos;
|
|
attribute vec2 texcoord;
|
|
varying vec2 v_texcoord;
|
|
|
|
void main() {
|
|
gl_Position = vec4(proj * vec3(pos, 1.0), 1.0);
|
|
v_texcoord = texcoord;
|
|
}
|