more microui
This commit is contained in:
@@ -18,7 +18,7 @@ void main(){
|
||||
|
||||
vec2 ndc;
|
||||
ndc.x = (screen_pos.x / u_resolution.x) * 2.0 - 1.0;
|
||||
ndc.y = 1.0 - (screen_pos.y / u_resolution.x) * 2.0;
|
||||
ndc.y = 1.0 - (screen_pos.y / u_resolution.y) * 2.0;
|
||||
|
||||
gl_Position = vec4(ndc, 0.0, 1.0);
|
||||
TexCoord = aTexCoord;
|
||||
|
||||
Reference in New Issue
Block a user