mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-25 13:05:16 +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
@@ -159,7 +159,7 @@ void sfCircleShape_scale(sfCircleShape* shape, sfVector2f factors)
|
||||
////////////////////////////////////////////////////////////
|
||||
sfTransform sfCircleShape_getTransform(const sfCircleShape* shape)
|
||||
{
|
||||
CSFML_CHECK_RETURN(shape, NULL);
|
||||
CSFML_CHECK_RETURN(shape, sfTransform_Identity);
|
||||
|
||||
shape->Transform = convertTransform(shape->This.getTransform());
|
||||
return shape->Transform;
|
||||
@@ -169,7 +169,7 @@ sfTransform sfCircleShape_getTransform(const sfCircleShape* shape)
|
||||
////////////////////////////////////////////////////////////
|
||||
sfTransform sfCircleShape_getInverseTransform(const sfCircleShape* 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