summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-10-18 22:59:00 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-18 15:39:26 +0100
commit6553401814c7a5dc2c559283e08d398163dc67df (patch)
tree97b20ecc3345e6c68e0cc6ec8d4922134777848b
parent0e2cdc8dc0a219519007f3a44538d2061bb90f98 (diff)
Remove unused 'regname'
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_context.c b/src/mesa/drivers/dri/glamo/glamo_context.c
index 6dbf3feef3..5f435028b7 100644
--- a/src/mesa/drivers/dri/glamo/glamo_context.c
+++ b/src/mesa/drivers/dri/glamo/glamo_context.c
@@ -187,7 +187,6 @@ void glamo_update_renderbuffers(__DRIcontext *context,
int i, count;
struct glamo_framebuffer *draw;
glamoContextPtr glamo;
- char *regname;
struct glamo_bo *bo;
draw = drawable->driverPrivate;
@@ -277,8 +276,8 @@ void glamo_update_renderbuffers(__DRIcontext *context,
0, 0, GLAMO_GEM_DOMAIN_VRAM,
buffers[i].flags);
if ( bo == NULL ) {
- fprintf(stderr, "Failed to attach %s %d\n",
- regname, buffers[i].name);
+ fprintf(stderr, "Failed to attach buffer %d\n",
+ buffers[i].name);
}
glamo_renderbuffer_set_bo(grb, bo);