diff options
author | Brian Paul <[email protected]> | 2012-01-16 12:28:42 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:27 -0700 |
commit | 59a5b5a193d5d9c5776aa586b34657b6e315479d (patch) | |
tree | 405a0a59ae57f9b68de416ce69dcb4f5928bc29e /src/mesa/main | |
parent | ab331140c68d1c157e69ea8e53b44729355fa43c (diff) |
mesa: remove gl_renderbuffer::Wrapped
There's no such thing as renderbuffer wrappers anymore.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 | ||||
-rw-r--r-- | src/mesa/main/renderbuffer.c | 5 |
2 files changed, 0 insertions, 8 deletions
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; } |