mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dri2: declare variables where needed DRI2WaitMSCComplete()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
01f62a1b49
commit
62cea896f8
@@ -956,9 +956,7 @@ void
|
||||
DRI2WaitMSCComplete(ClientPtr client, DrawablePtr pDraw, int frame,
|
||||
unsigned int tv_sec, unsigned int tv_usec)
|
||||
{
|
||||
DRI2DrawablePtr pPriv;
|
||||
|
||||
pPriv = DRI2GetDrawable(pDraw);
|
||||
DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw);
|
||||
if (pPriv == NULL)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user