Remove redundant parenthesis in SDL_MUSTLOCK macro
This commit is contained in:
committed by
Sam Lantinga
parent
8527d042bc
commit
f1b3523c67
@@ -73,7 +73,7 @@ typedef Uint32 SDL_SurfaceFlags;
|
|||||||
*
|
*
|
||||||
* \since This macro is available since SDL 3.2.0.
|
* \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.
|
* The scaling mode.
|
||||||
|
|||||||
Reference in New Issue
Block a user