renderer/opengl: correct shader params

This commit is contained in:
Mitchell Hashimoto
2023-11-19 22:52:40 -08:00
parent a5d71723d5
commit d1de53ed22

View File

@ -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);
} }