From c46663367329615bd2c9b63e93c9534036e5a2ae Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Wed, 1 Aug 2007 18:32:09 +0200 Subject: GLX/DRI: Remove some unused variables. --- GL/glx/glxdri.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c index 051784ca0..685683dcc 100644 --- a/GL/glx/glxdri.c +++ b/GL/glx/glxdri.c @@ -374,15 +374,13 @@ __glXDRIbindTexImage(__GLXcontext *baseContext, { RegionPtr pRegion = NULL; PixmapPtr pixmap; - int w, h, bpp, override = 0; + int bpp, override = 0; GLenum format, type; ScreenPtr pScreen = glxPixmap->pScreen; __GLXDRIscreen * const screen = (__GLXDRIscreen *) __glXgetActiveScreen(pScreen->myNum); pixmap = (PixmapPtr) glxPixmap->pDraw; - w = pixmap->drawable.width; - h = pixmap->drawable.height; if (screen->texOffsetStart && screen->driScreen.setTexOffset) { __GLXpixmap **texOffsetOverride = screen->texOffsetOverride; @@ -972,7 +970,6 @@ static Bool glxDRIEnterVT (int index, int flags) { __GLXDRIscreen *screen = (__GLXDRIscreen *) __glXgetActiveScreen(index); - Bool ret; LogMessage(X_INFO, "AIGLX: Resuming AIGLX clients after VT switch\n"); -- cgit v1.2.3