summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-03 16:47:30 +0000
committerBrian Paul <[email protected]>2005-09-03 16:47:30 +0000
commitf6540c625254ac6d88e8a6ac8fee88a4cab7d349 (patch)
tree81af6786c950e0ceeceec7f0a0d9324e038df0a3 /src/mesa/drivers
parent687918b794d12a0ff5d395b8cf87880dbe8012bf (diff)
remove SetBuffer
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/fb/fb_dri.c15
-rw-r--r--src/mesa/drivers/dri/fb/fb_egl.c11
2 files changed, 0 insertions, 26 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_dri.c b/src/mesa/drivers/dri/fb/fb_dri.c
index e2ba66d2e7b..1ef043e1991 100644
--- a/src/mesa/drivers/dri/fb/fb_dri.c
+++ b/src/mesa/drivers/dri/fb/fb_dri.c
@@ -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);
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c
index 2cea48808fb..1b91919ec99 100644
--- a/src/mesa/drivers/dri/fb/fb_egl.c
+++ b/src/mesa/drivers/dri/fb/fb_egl.c
@@ -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);