summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-05-20 15:06:35 +0000
committerBrian Paul <[email protected]>2006-05-20 15:06:35 +0000
commit2eb88c1752f3c2f2f858415a89fdfc96e6669fc8 (patch)
tree9ea6b91e43d08fd1913d33b12e01e621d7a481b8 /src/mesa/main/framebuffer.h
parentcbb19930b3bd902e79e59fe7ca1d1943d72d84b4 (diff)
Added _mesa_dereference_framebuffer() to encapsulate reference count
decrement, delete and locking.
Diffstat (limited to 'src/mesa/main/framebuffer.h')
-rw-r--r--src/mesa/main/framebuffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.h b/src/mesa/main/framebuffer.h
index 1ff04085f34..7f3254fe8ea 100644
--- a/src/mesa/main/framebuffer.h
+++ b/src/mesa/main/framebuffer.h
@@ -43,7 +43,10 @@ extern void
_mesa_free_framebuffer_data(struct gl_framebuffer *buffer);
extern void
-_mesa_resize_framebuffer(GLcontext *ctx, struct gl_framebuffer *b,
+_mesa_dereference_framebuffer(struct gl_framebuffer **fb);
+
+extern void
+_mesa_resize_framebuffer(GLcontext *ctx, struct gl_framebuffer *fb,
GLuint width, GLuint height);
extern void