mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dri2: declare variables when needed in DRI2ThrottleClient()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
f79a8f5f78
commit
d8db7c3908
@@ -731,9 +731,7 @@ DRI2InvalidateDrawable(DrawablePtr pDraw)
|
||||
Bool
|
||||
DRI2ThrottleClient(ClientPtr client, DrawablePtr pDraw)
|
||||
{
|
||||
DRI2DrawablePtr pPriv;
|
||||
|
||||
pPriv = DRI2GetDrawable(pDraw);
|
||||
DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw);
|
||||
if (pPriv == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user