mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Use C standard library utilities for booleans and fixed-width ints
This commit is contained in:
1 parent
46bc9a7ed8
commit
a51c22a7a3
97 files changed
+670
-707
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user