Removed now-useless static_assert

Unneeded as of d09ad24037. The standard typedef will always
be the correct size.
This commit is contained in:
Charles Dang 2017-12-06 02:14:24 +11:00
parent 4dda0ad9b2
commit 4d3fa03ba8

View file

@ -706,8 +706,6 @@ void pango_text::rerender(const bool force)
render(*layout_, rect_, 0u, stride);
static_assert(sizeof(uint32_t) == 4, "Something is wrong with our typedefs");
// The cairo surface is in CAIRO_FORMAT_ARGB32 which uses
// pre-multiplied alpha. SDL doesn't use that so the pixels need to be
// decoded again.