summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-25 17:57:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-25 17:57:52 +0000
commit753af3a206e3976be9a0954578d866218fdbf30a (patch)
treef477c24c7f77cad000222c9203ff086dc166c26d /src
parent70207b70c5761c7493294896535b849ce8519bcd (diff)
downloadexternal_mesa3d-753af3a206e3976be9a0954578d866218fdbf30a.zip
external_mesa3d-753af3a206e3976be9a0954578d866218fdbf30a.tar.gz
external_mesa3d-753af3a206e3976be9a0954578d866218fdbf30a.tar.bz2
fix issue in _mesa_free_framebuffer_data()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 0b543df..5cea6d1 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -178,7 +178,7 @@ _mesa_free_framebuffer_data(struct gl_framebuffer *fb)
for (i = 0; i < BUFFER_COUNT; i++) {
struct gl_renderbuffer_attachment *att = &fb->Attachment[i];
- if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) {
+ if (att->Renderbuffer) {
struct gl_renderbuffer *rb = att->Renderbuffer;
rb->RefCount--;
if (rb->RefCount == 0) {