mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-22 19:08:37 +00:00
Some old OS X environments refuse to work with OpenGL 3.0 even though they support later versions.
13 lines
154 B
GLSL
13 lines
154 B
GLSL
#version 150
|
|
|
|
uniform sampler2D tex;
|
|
|
|
in vec2 f_uv;
|
|
in vec4 f_color;
|
|
|
|
out vec4 out_color;
|
|
|
|
void main() {
|
|
out_color = f_color * texture(tex, f_uv.st);
|
|
}
|