Mesa (master): st/dri: remove unused variables
Marek Olšák
mareko at kemper.freedesktop.org
Sun Jul 10 15:41:06 UTC 2011
Module: Mesa
Branch: master
Commit: d644a50dc328e54d513e4304378bb8c34148f7cc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d644a50dc328e54d513e4304378bb8c34148f7cc
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Jul 10 17:40:38 2011 +0200
st/dri: remove unused variables
---
.../state_trackers/dri/common/dri_context.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c
index 08bbdf9..e6612b1 100644
--- a/src/gallium/state_trackers/dri/common/dri_context.c
+++ b/src/gallium/state_trackers/dri/common/dri_context.c
@@ -143,8 +143,6 @@ dri_unbind_context(__DRIcontext * cPriv)
/* dri_util.c ensures cPriv is not null */
struct dri_screen *screen = dri_screen(cPriv->driScreenPriv);
struct dri_context *ctx = dri_context(cPriv);
- struct dri_drawable *draw = dri_drawable(ctx->dPriv);
- struct dri_drawable *read = dri_drawable(ctx->rPriv);
struct st_api *stapi = screen->st_api;
if (--ctx->bind_count == 0) {
More information about the mesa-commit
mailing list