mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
dri2: declare variables where needed DRI2WakeClient()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
62cea896f8
commit
18017bf848
@@ -971,9 +971,7 @@ DRI2WakeClient(ClientPtr client, DrawablePtr pDraw, int frame,
|
||||
unsigned int tv_sec, unsigned int tv_usec)
|
||||
{
|
||||
ScreenPtr pScreen = pDraw->pScreen;
|
||||
DRI2DrawablePtr pPriv;
|
||||
|
||||
pPriv = DRI2GetDrawable(pDraw);
|
||||
DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw);
|
||||
if (pPriv == NULL) {
|
||||
xf86DrvMsg(pScreen->myNum, X_ERROR,
|
||||
"[DRI2] %s: bad drawable\n", __func__);
|
||||
|
||||
Reference in New Issue
Block a user