mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 04:28:11 +08:00
Window with textured polygon
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#version 450
|
||||
|
||||
layout(location=0) in vec2 a_position;
|
||||
|
||||
layout(location=0) out vec2 v_uv;
|
||||
|
||||
void main() {
|
||||
v_uv = a_position;
|
||||
gl_Position = vec4(a_position, 0.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user