diff options
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index e02b2f3ca59..c206d643509 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -386,9 +386,9 @@ compute_row_addresses( OSMesaContext osmesa ) * Don't use _mesa_delete_renderbuffer since we can't free rb->Buffer. */ static void -osmesa_delete_renderbuffer(struct gl_renderbuffer *rb) +osmesa_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) { - free(rb); + _mesa_delete_renderbuffer(ctx, rb); } |