summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-07 18:27:58 +0000
committerBrian Paul <[email protected]>2005-05-07 18:27:58 +0000
commitfc3bc1ae14e7aa769fe01c007a1d68f2ff6db7b8 (patch)
treeef10a27929f0cdc1490736ed7ea16c81f204f679 /src
parentd3bd97bb145c2f4e479281e88ad283a4eab08eb1 (diff)
remove some dead code
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 27c53f10082..b1160c88069 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -952,6 +952,7 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
return NULL;
}
+ /* create front color buffer in user-provided memory (no back buffer) */
_mesa_add_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT,
new_osmesa_renderbuffer(format));
_mesa_add_soft_renderbuffers(osmesa->gl_buffer,
@@ -1004,15 +1005,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
swdd = _swrast_GetDeviceDriverReference( ctx );
swdd->SetBuffer = set_buffer;
- /* no longer used */
- swdd->WriteRGBASpan = NULL;
- swdd->WriteRGBSpan = NULL;
- swdd->WriteMonoRGBASpan = NULL;
- swdd->WriteRGBAPixels = NULL;
- swdd->WriteMonoRGBAPixels = NULL;
- swdd->ReadRGBASpan = NULL;
- swdd->ReadRGBAPixels = NULL;
-
/* Extend the software rasterizer with our optimized line and triangle
* drawing functions.
*/
@@ -1157,9 +1149,6 @@ OSMesaMakeCurrent( OSMesaContext ctx, void *buffer, GLenum type,
/* this will make ensure we recognize the new buffer size */
_mesa_resize_framebuffer(&ctx->mesa, ctx->gl_buffer, width, height);
-#if 00
- _mesa_ResizeBuffersMESA();
-#endif
/* Added by Gerk Huisma: */
_tnl_MakeCurrent( &ctx->mesa, ctx->mesa.DrawBuffer,