Go to file
Jonas Ådahl 8a32b42172 renderer/native: Round calculated framebuffer size before casting to int
Due to rounding issues, we can't assume a floating point calculation
will end up on an integer, even if we got the factor from the reverse
calculation. Thus, to avoid casting away values like N.999... to N,
when they should really be N+1, round the resulting floating point
calculation before casting it to int.

This fixes an issue where using the scale ~1.739 on a 1920x1080 mode
resulted in error when setting the mode, as the calculated size of the
framebuffer was only 1919x1080.

https://bugzilla.gnome.org/show_bug.cgi?id=786918
2017-08-30 13:07:11 +08:00
clutter clutter/stage: Add capture_into API 2017-08-29 11:49:01 +08:00
cogl cogl: Only do the swizzling hack for GL contexts 2017-08-21 16:29:39 +02:00
data Use Unicode quotation marks in a translatable string 2017-08-29 18:08:08 +02:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update Serbian Latin translation 2017-08-29 19:03:56 +00:00
src renderer/native: Round calculated framebuffer size before casting to int 2017-08-30 13:07:11 +08:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore Add remote desktop and screen cast functionality 2017-08-29 14:39:04 +08:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac Add remote desktop and screen cast functionality 2017-08-29 14:39:04 +08:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.25.91 2017-08-22 00:21:48 +02:00