mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
Add a NULL SetBuffer function to the fbdev driver
This commit is contained in:
parent
2e7dcdd38b
commit
ef9e0be0cb
1 changed files with 8 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue