diff options
author | Brian Paul <[email protected]> | 2005-09-04 15:03:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-04 15:03:36 +0000 |
commit | d575a4c4a1795bda73ba1f6a1817b0dacac2174e (patch) | |
tree | ecfeeee8acef37e619b9283f3c8df0c75d1bfc0f /src/mesa/drivers | |
parent | 0cfd4f92dde078bcc9f458ede91cc341a7b0ef5b (diff) |
minor clean-ups
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgaspan.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/savage/savagespan.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_span.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/mga/mgaspan.c b/src/mesa/drivers/dri/mga/mgaspan.c index 494d1a36b60..58ed7438c08 100644 --- a/src/mesa/drivers/dri/mga/mgaspan.c +++ b/src/mesa/drivers/dri/mga/mgaspan.c @@ -45,9 +45,8 @@ drb->offset + \ dPriv->x * drb->cpp + \ dPriv->y * pitch); \ - char *read_buf = buf; \ GLuint p; \ - (void) read_buf; (void) buf; (void) p + (void) buf; (void) p diff --git a/src/mesa/drivers/dri/savage/savagespan.c b/src/mesa/drivers/dri/savage/savagespan.c index 6396332794f..606c7d50c7e 100644 --- a/src/mesa/drivers/dri/savage/savagespan.c +++ b/src/mesa/drivers/dri/savage/savagespan.c @@ -40,9 +40,8 @@ GLuint pitch = drb->pitch; \ GLuint height = dPriv->h; \ GLubyte *buf = drb->Base.Data + dPriv->x * cpp + dPriv->y * pitch; \ - GLubyte *read_buf = buf; \ GLuint p; \ - (void) p; (void) read_buf; + (void) p #define LOCAL_DEPTH_VARS \ savageContextPtr imesa = SAVAGE_CONTEXT(ctx); \ diff --git a/src/mesa/drivers/dri/sis/sis_span.c b/src/mesa/drivers/dri/sis/sis_span.c index 5e3d7b9e4e8..bdefaf10189 100644 --- a/src/mesa/drivers/dri/sis/sis_span.c +++ b/src/mesa/drivers/dri/sis/sis_span.c @@ -47,9 +47,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. driRenderbuffer *drb = (driRenderbuffer *) rb; \ GLuint pitch = drb->pitch; \ char *buf = (char *)(smesa->FbBase + drb->offset); \ - char *read_buf = buf; \ GLuint p; \ - (void) read_buf; (void) buf; (void) p + (void) buf; (void) p #define LOCAL_DEPTH_VARS \ sisContextPtr smesa = SIS_CONTEXT(ctx); \ |