summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-04-08 10:42:57 +1000
committerTimothy Arceri <[email protected]>2017-04-10 10:55:34 +1000
commita85b4e57198b3dc9d6b26ef84506ec995fd4889b (patch)
treeb3ff8537bedc32465e062f5afe8f9f1d0ee29fe9 /src/mesa/drivers/osmesa
parente6d6266e6f8c01f600be06b8e89f83fa7e1a1caa (diff)
osmesa: tidy up renderbuffer refCount initialisation
32141e53d1520 changed _mesa_init_renderbuffer() to set it to 1 for us. Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 356ba71ea83..68fca3e6326 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -549,7 +549,6 @@ new_osmesa_renderbuffer(struct gl_context *ctx, GLenum format, GLenum type)
_mesa_init_renderbuffer(&srb->Base, name);
srb->Base.ClassID = OSMESA_RENDERBUFFER_CLASS;
- srb->Base.RefCount = 1;
srb->Base.Delete = osmesa_delete_renderbuffer;
srb->Base.AllocStorage = osmesa_renderbuffer_storage;