summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-01 02:56:47 +0000
committerBrian Paul <[email protected]>2005-09-01 02:56:47 +0000
commit26bb5239c8ee2b469ca09c8fab91d92b37be0f00 (patch)
tree8aafad59a59631a3ec64a46d6e6c990888f460c4
parent527835977a3f22d7a01f8d835d73ced5b13d0991 (diff)
remove the old set_buffer() routine
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 8a85b5ecf7c..16e9073ad78 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -121,15 +121,6 @@ osmesa_update_state( GLcontext *ctx, GLuint new_state )
}
-static void
-set_buffer( GLcontext *ctx, GLframebuffer *buffer, GLuint bufferBit )
-{
- /* separate read buffer not supported */
- ASSERT(buffer == ctx->DrawBuffer);
- ASSERT(bufferBit == BUFFER_BIT_FRONT_LEFT);
-}
-
-
/*
* Just return the current buffer size.
* There's no window to track the size of.
@@ -983,7 +974,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
{
GLcontext *ctx = &osmesa->mesa;
SWcontext *swrast;
- struct swrast_device_driver *swdd;
TNLcontext *tnl;
if (!_swrast_CreateContext( ctx ) ||
@@ -1002,9 +992,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits,
tnl = TNL_CONTEXT(ctx);
tnl->Driver.RunPipeline = _tnl_run_pipeline;
- swdd = _swrast_GetDeviceDriverReference( ctx );
- swdd->SetBuffer = set_buffer;
-
/* Extend the software rasterizer with our optimized line and triangle
* drawing functions.
*/