Use C standard library utilities for booleans and fixed-width ints

This commit is contained in:
Chris Thrasher authored and Lukas Dürrenberger committed 2024-02-19 23:30:30 +01:00
1 parent 46bc9a7ed8
commit a51c22a7a3
97 files changed
+670 -707

No files matched your search

+2 -2
View File
@@ -167,9 +167,9 @@ sfTransform sfShape_getInverseTransform(const sfShape* shape)
////////////////////////////////////////////////////////////
void sfShape_setTexture(sfShape* shape, const sfTexture* texture, sfBool resetRect)
void sfShape_setTexture(sfShape* shape, const sfTexture* texture, bool resetRect)
{
CSFML_CALL(shape, setTexture(texture ? texture->This : nullptr, resetRect == sfTrue));
CSFML_CALL(shape, setTexture(texture ? texture->This : nullptr, resetRect));
shape->Texture = texture;
}