mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-23 09:40:40 +01:00
render: fix shadow warnings
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8e86123998
commit
7f1d74e8a9
1 changed files with 4 additions and 4 deletions
|
|
@ -363,10 +363,10 @@ extern _X_EXPORT RESTYPE GlyphSetType;
|
|||
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
|
||||
|
||||
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
|
||||
int rc = dixLookupResourceByType((pointer)&(pPicture), pid,\
|
||||
PictureType, client, mode);\
|
||||
if (rc != Success)\
|
||||
return rc;\
|
||||
int tmprc = dixLookupResourceByType((pointer)&(pPicture), pid,\
|
||||
PictureType, client, mode);\
|
||||
if (tmprc != Success)\
|
||||
return tmprc;\
|
||||
}
|
||||
|
||||
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue