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