aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-15 19:52:11 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-15 19:52:11 +0400
commit609b1a02d06df7e71f8eb5cf76790469754b2aa2 (patch)
tree9639663c64efefbc65c48ce34c856f80b45f5b5d /wiki
parent5335ef454be4a1318dae36b1795a8578704f5d81 (diff)
downloadniri-609b1a02d06df7e71f8eb5cf76790469754b2aa2.tar.gz
niri-609b1a02d06df7e71f8eb5cf76790469754b2aa2.tar.bz2
niri-609b1a02d06df7e71f8eb5cf76790469754b2aa2.zip
Change resize shader geo size to logical pixels
Consistent with the others.
Diffstat (limited to 'wiki')
-rw-r--r--wiki/examples/resize_custom_shader.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki/examples/resize_custom_shader.frag b/wiki/examples/resize_custom_shader.frag
index 3c2ad0b5..44f2976d 100644
--- a/wiki/examples/resize_custom_shader.frag
+++ b/wiki/examples/resize_custom_shader.frag
@@ -28,7 +28,7 @@ vec4 resize_color(vec3 coords_curr_geo, vec3 size_curr_geo) {
// expect and handle coordinates outside the [0, 1] range. The area will be
// large enough to accomodate a crossfade effect.
//
-// * size_curr_geo: size of the current window geometry in physical pixels.
+// * size_curr_geo: size of the current window geometry in logical pixels.
//
// It is homogeneous (the Z component is equal to 1).
//