Fix unwanted scaling when tiling bg image

This commit is contained in:
Kovid Goyal 2020-02-01 11:41:06 +05:30
parent cf1b7c0adb
commit 2f9dabd344
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -28,7 +28,7 @@ const vec2 tex_map[] = vec2[4](
float scale_factor(float window, float image) {
return max(1, window / image);
return window / image;
}
float tiling_factor(int i) {