remove SetBuffer
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 3 Sep 2005 16:47:30 +0000 (16:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 3 Sep 2005 16:47:30 +0000 (16:47 +0000)
src/mesa/drivers/dri/fb/fb_dri.c
src/mesa/drivers/dri/fb/fb_egl.c

index e2ba66d2e7bdb73045b82eb4ff6dcefe3f1ef92f..1ef043e1991cf62d97d41573416b9855b0cc370c 100644 (file)
@@ -313,12 +313,6 @@ fbDestroyScreen( __DRIscreenPrivate *sPriv )
 {
 }
 
-void fbSetBuffer( GLcontext *ctx,
-                             GLframebuffer *colorBuffer,
-                             GLuint bufferBit )
-{
-    /* NOP until SetBuffer is fully removed */
-}
 
 /* Create the device specific context.
  */
@@ -366,15 +360,6 @@ fbCreateContext( const __GLcontextModes *glVisual,
    _swsetup_Wakeup( ctx );
 
 
-   /* swrast init -- need to verify these tests - I just plucked the
-    * numbers out of the air.  (KW)
-    */
-   {
-      struct swrast_device_driver *swdd;
-      swdd = _swrast_GetDeviceDriverReference( ctx );
-      swdd->SetBuffer = fbSetBuffer;
-   }
-
    /* use default TCL pipeline */
    {
       TNLcontext *tnl = TNL_CONTEXT(ctx);
index 2cea48808fb6f3997d04fca341fc9de96e10ccd1..1b91919ec99c226de1aac14f01a1bd75eb6bdb43 100644 (file)
@@ -37,8 +37,6 @@
 
 extern void
 fbSetSpanFunctions(driRenderbuffer *drb, const GLvisual *vis);
-extern void 
-fbSetBuffer( GLcontext *ctx, GLframebuffer *colorBuffer, GLuint bufferBit);
 
 /**
  * fb driver-specific driver class derived from _EGLDriver
@@ -481,15 +479,6 @@ fbCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, EGLContext sh
    _swsetup_Wakeup( ctx );
 
 
-   /* swrast init -- need to verify these tests - I just plucked the
-    * numbers out of the air.  (KW)
-    */
-   {
-      struct swrast_device_driver *swdd;
-      swdd = _swrast_GetDeviceDriverReference( ctx );
-      swdd->SetBuffer = fbSetBuffer;
-   }
-
    /* use default TCL pipeline */
    {
       TNLcontext *tnl = TNL_CONTEXT(ctx);