Add SetBuffer to egl driver too

This commit is contained in:
Jon Smirl
2005-06-07 02:10:14 +00:00
parent ef9e0be0cb
commit c20a2b0b72
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ fbDestroyScreen( __DRIscreenPrivate *sPriv )
{
}
static void fbSetBuffer( GLcontext *ctx,
void fbSetBuffer( GLcontext *ctx,
GLframebuffer *colorBuffer,
GLuint bufferBit )
{
+3
View File
@@ -37,6 +37,8 @@
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
@@ -485,6 +487,7 @@ fbCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, EGLContext sh
{
struct swrast_device_driver *swdd;
swdd = _swrast_GetDeviceDriverReference( ctx );
swdd->SetBuffer = fbSetBuffer;
}
/* use default TCL pipeline */