mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
testsuite: Be more resistant against rounding errors
Make a test use numbers that are less likely to cause rounding issues in GPUs (read: use powers of 2).
This commit is contained in:
parent
bdb3e345c8
commit
cc3e25b163
@ -1,10 +1,10 @@
|
||||
clip {
|
||||
clip: 24995 24995 10 10;
|
||||
clip: 16379 16379 10 10;
|
||||
child: transform {
|
||||
transform: translate(25000, 25000) rotate(90) translate(-25000, -25000);
|
||||
transform: translate(16384, 16384) rotate(90) translate(-16384, -16384);
|
||||
child: texture-scale {
|
||||
texture: url("data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAKElEQVQYlWNkYGD4z4AG/v/HEGJgwhDBAQZQIQs2hzMyMtLBauorBACQUgcSISWLRgAAAABJRU5ErkJggg==");
|
||||
bounds: 0 0 50000 50000;
|
||||
bounds: 0 0 32768 32768;
|
||||
filter: nearest;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user