mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 05:06:12 +01:00
Fix compiler errors in debug
This commit is contained in:
1 parent
7e9321e57c
commit
046d415f98
8 files changed
+15
-15
No files matched your search
@@ -149,7 +149,7 @@ void sfShape_scale(sfShape* shape, sfVector2f factors)
|
||||
////////////////////////////////////////////////////////////
|
||||
sfTransform sfShape_getTransform(const sfShape* shape)
|
||||
{
|
||||
CSFML_CHECK_RETURN(shape, NULL);
|
||||
CSFML_CHECK_RETURN(shape, sfTransform_Identity);
|
||||
|
||||
shape->Transform = convertTransform(shape->This.getTransform());
|
||||
return shape->Transform;
|
||||
@@ -159,7 +159,7 @@ sfTransform sfShape_getTransform(const sfShape* shape)
|
||||
////////////////////////////////////////////////////////////
|
||||
sfTransform sfShape_getInverseTransform(const sfShape* shape)
|
||||
{
|
||||
CSFML_CHECK_RETURN(shape, NULL);
|
||||
CSFML_CHECK_RETURN(shape, sfTransform_Identity);
|
||||
|
||||
shape->InverseTransform = convertTransform(shape->This.getInverseTransform());
|
||||
return shape->InverseTransform;
|
||||
|
||||
Reference in new issue
Block a user