Removed now-useless static_assert
Unneeded as of d09ad24037
. The standard typedef will always
be the correct size.
This commit is contained in:
parent
4dda0ad9b2
commit
4d3fa03ba8
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue