diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-08-01 18:32:09 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-08-01 18:32:09 +0200 |
commit | c46663367329615bd2c9b63e93c9534036e5a2ae (patch) | |
tree | 05f472e52b4de35ab038273a6c1929eacb728ccb /GL/glx/glxdri.c | |
parent | 17cb4f64e3c39725e83b1e311c09422d7e1c0e52 (diff) |
GLX/DRI: Remove some unused variables.
Diffstat (limited to 'GL/glx/glxdri.c')
-rw-r--r-- | GL/glx/glxdri.c | 5 |
1 files changed, 1 insertions, 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"); |