Fix SDL_RectEquals define
This commit is contained in:
parent
9d8f2b6917
commit
6c74730331
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ typedef struct SDL_Rect
|
||||||
/**
|
/**
|
||||||
* \brief Returns true if the two rectangles are equal.
|
* \brief Returns true if the two rectangles are equal.
|
||||||
*/
|
*/
|
||||||
#define SDL_RectEquals(A, B) (((A) && ((B)) && \
|
#define SDL_RectEquals(A, B) (((A)) && ((B)) && \
|
||||||
((A)->x == (B)->x) && ((A)->y == (B)->y) && \
|
((A)->x == (B)->x) && ((A)->y == (B)->y) && \
|
||||||
((A)->w == (B)->w) && ((A)->h == (B)->h))
|
((A)->w == (B)->w) && ((A)->h == (B)->h))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue