From f9874feef4d8952df5054bd8e8f4e0deda4ef44f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jan 2012 12:03:09 -0700 Subject: mesa: remove gl_renderbuffer::DataType --- src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/drivers/dri/nouveau/nouveau_fbo.c') diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index d56e954e45a..6f4956efe8c 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c @@ -46,26 +46,22 @@ set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) case GL_RGB8: rb->_BaseFormat = GL_RGB; rb->Format = MESA_FORMAT_XRGB8888; - rb->DataType = GL_UNSIGNED_BYTE; s->cpp = 4; break; case GL_RGBA: case GL_RGBA8: rb->_BaseFormat = GL_RGBA; rb->Format = MESA_FORMAT_ARGB8888; - rb->DataType = GL_UNSIGNED_BYTE; s->cpp = 4; break; case GL_RGB5: rb->_BaseFormat = GL_RGB; rb->Format = MESA_FORMAT_RGB565; - rb->DataType = GL_UNSIGNED_BYTE; s->cpp = 2; break; case GL_DEPTH_COMPONENT16: rb->_BaseFormat = GL_DEPTH_COMPONENT; rb->Format = MESA_FORMAT_Z16; - rb->DataType = GL_UNSIGNED_SHORT; s->cpp = 2; break; case GL_DEPTH_COMPONENT: @@ -74,7 +70,6 @@ set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) case GL_DEPTH24_STENCIL8_EXT: rb->_BaseFormat = GL_DEPTH_STENCIL; rb->Format = MESA_FORMAT_Z24_S8; - rb->DataType = GL_UNSIGNED_INT_24_8_EXT; s->cpp = 4; break; default: -- cgit v1.2.3