mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
renderer/opengl: correct shader params
This commit is contained in:
@ -1,11 +1,11 @@
|
|||||||
#version 330 core
|
#version 330 core
|
||||||
|
|
||||||
in vec2 tex_coords;
|
in vec2 tex_coord;
|
||||||
|
|
||||||
layout(location = 0) out vec4 out_FragColor;
|
layout(location = 0) out vec4 out_FragColor;
|
||||||
|
|
||||||
uniform sampler2D image;
|
uniform sampler2D image;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
out_FragColor = texture(image, tex_coords);
|
out_FragColor = texture(image, tex_coord);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user