projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d6266
)
osmesa: tidy up renderbuffer refCount initialisation
author
Timothy Arceri
<tarceri@itsqueeze.com>
Sat, 8 Apr 2017 00:42:57 +0000
(10:42 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 10 Apr 2017 00:55:34 +0000
(10:55 +1000)
32141e53d1520
changed _mesa_init_renderbuffer() to set it to 1 for
us.
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/osmesa/osmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/osmesa/osmesa.c
b/src/mesa/drivers/osmesa/osmesa.c
index 356ba71ea83be4c3b3c3924ebed36b9411007c5c..68fca3e63263f06a7e6326f5d79f1632b1182d6b 100644
(file)
--- 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;