diff --git a/src/SFML/Audio/ALCheck.hpp b/src/SFML/Audio/ALCheck.hpp index 80299c4b7..2384c8b18 100644 --- a/src/SFML/Audio/ALCheck.hpp +++ b/src/SFML/Audio/ALCheck.hpp @@ -50,7 +50,7 @@ namespace priv #ifdef SFML_DEBUG // If in debug mode, perform a test on every call - #define alCheck(Func) ((Func), priv::alCheckError(__FILE__, __LINE__)) + #define alCheck(x) x; sf::priv::alCheckError(__FILE__, __LINE__); #else