mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-04 22:22:43 -07:00
14 lines
248 B
GLSL
14 lines
248 B
GLSL
in vec2 v_position;
|
|
in vec2 v_texture;
|
|
out vec2 uv;
|
|
|
|
void main()
|
|
{
|
|
#if SOKOL_GLSL
|
|
uv = vec2( v_texture.x, v_texture.y );
|
|
#else
|
|
uv = vec2( v_texture.x, 1.0 - v_texture.y );
|
|
#endif
|
|
gl_Position = vec4( v_position, 0.0, 1.0 );
|
|
}
|