mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00: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:
@@ -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) {\
|
||||
|
||||
Reference in New Issue
Block a user