dri2: declare variables where needed DRI2WaitMSCComplete()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-02-06 13:01:50 +01:00
committed by Enrico Weigelt
parent 01f62a1b49
commit 62cea896f8

View File

@@ -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;