projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7dcdd
)
Add a NULL SetBuffer function to the fbdev driver
author
Jon Smirl
<jonsmirl@gmail.com>
Mon, 6 Jun 2005 21:40:55 +0000
(21:40 +0000)
committer
Jon Smirl
<jonsmirl@gmail.com>
Mon, 6 Jun 2005 21:40:55 +0000
(21:40 +0000)
src/mesa/drivers/dri/fb/fb_dri.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/fb/fb_dri.c
b/src/mesa/drivers/dri/fb/fb_dri.c
index 0158a41c80d94fa0193d9c48f4ad587e0cc173b6..85074ac1127f28505b6c490ca283173e657b2e32 100644
(file)
--- 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 */