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
|
@ -363,10 +363,10 @@ extern _X_EXPORT RESTYPE GlyphSetType;
|
||||||
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
|
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
|
||||||
|
|
||||||
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
|
#define VERIFY_PICTURE(pPicture, pid, client, mode) {\
|
||||||
int rc = dixLookupResourceByType((pointer)&(pPicture), pid,\
|
int tmprc = dixLookupResourceByType((pointer)&(pPicture), pid,\
|
||||||
PictureType, client, mode);\
|
PictureType, client, mode);\
|
||||||
if (rc != Success)\
|
if (tmprc != Success)\
|
||||||
return rc;\
|
return tmprc;\
|
||||||
}
|
}
|
||||||
|
|
||||||
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\
|
#define VERIFY_ALPHA(pPicture, pid, client, mode) {\
|
||||||
|
|
Loading…
Reference in New Issue