Fix compiler errors in debug

This commit is contained in:
Laurent Gomila committed 2012-06-17 09:34:14 +02:00
1 parent 7e9321e57c
commit 046d415f98
8 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -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;