summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-06-06 21:40:55 +0000
committerJon Smirl <[email protected]>2005-06-06 21:40:55 +0000
commitef9e0be0cb21f995d5b14060ca63a51e9b1cd52e (patch)
tree9a50947b4ab71fafd7b9b626f37f052b368a6cee
parent2e7dcdd38bf23bb5303d9351fbdd4941d7639858 (diff)
Add a NULL SetBuffer function to the fbdev driver
-rw-r--r--src/mesa/drivers/dri/fb/fb_dri.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_dri.c b/src/mesa/drivers/dri/fb/fb_dri.c
index 0158a41c80d..85074ac1127 100644
--- a/src/mesa/drivers/dri/fb/fb_dri.c
+++ b/src/mesa/drivers/dri/fb/fb_dri.c
@@ -316,6 +316,13 @@ fbDestroyScreen( __DRIscreenPrivate *sPriv )
{
}
+static void fbSetBuffer( GLcontext *ctx,
+ GLframebuffer *colorBuffer,
+ GLuint bufferBit )
+{
+ /* NOP until SetBuffer is fully removed */
+}
+
/* Create the device specific context.
*/
static GLboolean
@@ -368,6 +375,7 @@ fbCreateContext( const __GLcontextModes *glVisual,
{
struct swrast_device_driver *swdd;
swdd = _swrast_GetDeviceDriverReference( ctx );
+ swdd->SetBuffer = fbSetBuffer;
}
/* use default TCL pipeline */