From 59a5b5a193d5d9c5776aa586b34657b6e315479d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jan 2012 12:28:42 -0700 Subject: mesa: remove gl_renderbuffer::Wrapped There's no such thing as renderbuffer wrappers anymore. --- src/mesa/main/mtypes.h | 3 --- src/mesa/main/renderbuffer.c | 5 ----- 2 files changed, 8 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 919244dfa3a..0fcbfdf773b 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2565,9 +2565,6 @@ struct gl_renderbuffer GLubyte *Map; GLint RowStrideBytes; - /* Used to wrap one renderbuffer around another: */ - struct gl_renderbuffer *Wrapped; - /* Delete this renderbuffer */ void (*Delete)(struct gl_renderbuffer *rb); diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 4bc4165fb9e..1bb09bfe6a1 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -54,11 +54,6 @@ _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name) rb->Height = 0; rb->InternalFormat = GL_RGBA; rb->Format = MESA_FORMAT_NONE; - - /* Point back to ourself so that we don't have to check for Wrapped==NULL - * all over the drivers. - */ - rb->Wrapped = rb; } -- cgit v1.2.3