~kiko/pixman/trunk

Viewing all changes in revision 2096.

  • Committer: Matt Turner
  • Author(s): Basile Clement
  • Date: 2019-06-10 16:32:12 UTC
  • Revision ID: git-v1:0ee0ad23de05bc3ea41720b5a260bc654a478e7d
Don't use GNU extension for binary numbers

The dithering code (specifically `dither_factor_bayer_8`) uses a GNU
extension for binary notation, eg 0b001.  This is not supported by MSVC
(at least) and breaks the build on this platform [1].

This patches uses hexadecimal notation instead, fixing the build.

[1]: https://lists.freedesktop.org/archives/pixman/2019-June/004883.html

Reviewed-by: Matt Turner <mattst88@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: