Remove redundant parenthesis in SDL_MUSTLOCK macro

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-02-03 19:47:16 -08:00
1 parent 8527d042bc
commit f1b3523c67
1 file changed
+1 -1
+1 -1
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.