diff options
author | Brian Paul <[email protected]> | 2006-05-14 15:56:07 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-05-14 15:56:07 +0000 |
commit | ed875a4cb3cf194637d696b2660b98fdc3b95b0f (patch) | |
tree | 6309370fab091130c452bce8a4288f10511b9e33 | |
parent | ad7805dfee27fc8e5dd6f86609c68f1ff2fe42d2 (diff) |
fix typo, remove dead code
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index d88a55056f9..190bbf8c76b 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -702,7 +702,7 @@ osmesa_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, /** - * Allocate a new renderbuffer tpo describe the user-provided color buffer. + * Allocate a new renderbuffer to describe the user-provided color buffer. */ static struct gl_renderbuffer * new_osmesa_renderbuffer(GLenum format) @@ -1195,7 +1195,6 @@ OSMesaGetDepthBuffer( OSMesaContext c, GLint *width, GLint *height, rb = c->gl_buffer->Attachment[BUFFER_DEPTH].Renderbuffer; if (!rb || !rb->Data) { - /*if ((!c->gl_buffer) || (!c->gl_buffer->DepthBuffer)) {*/ *width = 0; *height = 0; *bytesPerValue = 0; |