Skip to content

Commit

Permalink
Fixed compile error in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGomila committed Mar 31, 2012
1 parent ad8a1aa commit 9554c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFML/Graphics/RenderTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ sfIntRect sfRenderTexture_getViewport(const sfRenderTexture* renderTexture, cons
sfVector2f sfRenderTexture_convertCoords(const sfRenderTexture* renderTexture, sfVector2i point, const sfView* targetView)
{
sfVector2f result = {0, 0};
CSFML_CHECK_RETURN(renderWindow, result);
CSFML_CHECK_RETURN(renderTexture, result);

sf::Vector2f sfmlPoint;
if (targetView)
Expand Down

0 comments on commit 9554c00

Please sign in to comment.