summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/directfb/idirectfbgl_mesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/directfb/idirectfbgl_mesa.c')
-rw-r--r--src/mesa/drivers/directfb/idirectfbgl_mesa.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/directfb/idirectfbgl_mesa.c b/src/mesa/drivers/directfb/idirectfbgl_mesa.c
index 1c481af3f2a..e8ed192be3e 100644
--- a/src/mesa/drivers/directfb/idirectfbgl_mesa.c
+++ b/src/mesa/drivers/directfb/idirectfbgl_mesa.c
@@ -310,13 +310,6 @@ set_viewport( GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h )
_mesa_ResizeBuffersMESA();
}
-/* required but not used */
-static void
-set_buffer( GLcontext *ctx, GLframebuffer *buffer, GLuint bufferBit )
-{
- return;
-}
-
static void
delete_renderbuffer( struct gl_renderbuffer *render )
{
@@ -562,7 +555,6 @@ dfb_mesa_create_context( GLcontext *context,
_swsetup_Wakeup( context );
swdd = _swrast_GetDeviceDriverReference( context );
- swdd->SetBuffer = set_buffer;
_mesa_init_renderbuffer( &data->render, 0 );
data->render.InternalFormat = GL_RGBA;