mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 05:30:28 +00:00
872b5115ea
We need new shaders, and we need to select the correct shader when building the program we use to render the triangle.
9 lines
120 B
GLSL
9 lines
120 B
GLSL
#version 330
|
|
|
|
layout(location = 0) in vec4 position;
|
|
uniform mat4 mvp;
|
|
|
|
void main() {
|
|
gl_Position = mvp * position;
|
|
}
|