Remove redundant parenthesis in SDL_MUSTLOCK macro

This commit is contained in:
Petar Popovic
2025-02-04 02:17:03 +01:00
committed by Sam Lantinga
parent 8527d042bc
commit f1b3523c67

View File

@@ -73,7 +73,7 @@ typedef Uint32 SDL_SurfaceFlags;
*
* \since This macro is available since SDL 3.2.0.
*/
#define SDL_MUSTLOCK(S) ((((S)->flags & SDL_SURFACE_LOCK_NEEDED)) == SDL_SURFACE_LOCK_NEEDED)
#define SDL_MUSTLOCK(S) (((S)->flags & SDL_SURFACE_LOCK_NEEDED) == SDL_SURFACE_LOCK_NEEDED)
/**
* The scaling mode.