diff options
author | Marek Olšák <[email protected]> | 2011-06-01 15:10:27 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-06-24 22:09:27 +0200 |
commit | 2b41399bb46356d5866c9bb4adfe4bb8f4878468 (patch) | |
tree | 36ba527da72f2ed72bc7c183ca9d8bdcd3f3d2a5 /src/mesa/main/renderbuffer.c | |
parent | 09e71cf7228232aa203915c9248c79cf26c5b917 (diff) |
mesa: remove unused function _mesa_new_depthstencil_renderbuffer
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/renderbuffer.c')
-rw-r--r-- | src/mesa/main/renderbuffer.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index fa884c0de93..c36175c60e7 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -2567,26 +2567,3 @@ _mesa_reference_renderbuffer(struct gl_renderbuffer **ptr, *ptr = rb; } } - - -/** - * Create a new combined depth/stencil renderbuffer for implementing - * the GL_EXT_packed_depth_stencil extension. - * \return new depth/stencil renderbuffer - */ -struct gl_renderbuffer * -_mesa_new_depthstencil_renderbuffer(struct gl_context *ctx, GLuint name) -{ - struct gl_renderbuffer *dsrb; - - dsrb = _mesa_new_renderbuffer(ctx, name); - if (!dsrb) - return NULL; - - /* init fields not covered by _mesa_new_renderbuffer() */ - dsrb->InternalFormat = GL_DEPTH24_STENCIL8_EXT; - dsrb->Format = MESA_FORMAT_Z24_S8; - dsrb->AllocStorage = _mesa_soft_renderbuffer_storage; - - return dsrb; -} |