mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
9 lines
238 B
GLSL
9 lines
238 B
GLSL
#version 330 core
|
|
|
|
void main(){
|
|
vec2 position;
|
|
position.x = (gl_VertexID == 0 || gl_VertexID == 1) ? -1. : 1.;
|
|
position.y = (gl_VertexID == 0 || gl_VertexID == 3) ? 1. : -1.;
|
|
gl_Position = vec4(position.xy, 0.0f, 1.0f);
|
|
}
|