diff options
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_screen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.c b/src/mesa/drivers/dri/nouveau/nouveau_screen.c index c845280f360..424dfdc1993 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_screen.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.c @@ -35,6 +35,7 @@ #include "main/framebuffer.h" #include "main/renderbuffer.h" +#include "swrast/s_renderbuffer.h" static const __DRIextension *nouveau_screen_extensions[]; @@ -200,9 +201,9 @@ nouveau_create_buffer(__DRIscreen *dri_screen, } /* Software renderbuffers. */ - _mesa_add_soft_renderbuffers(fb, GL_FALSE, GL_FALSE, GL_FALSE, - visual->accumRedBits > 0, - GL_FALSE, GL_FALSE); + _swrast_add_soft_renderbuffers(fb, GL_FALSE, GL_FALSE, GL_FALSE, + visual->accumRedBits > 0, + GL_FALSE, GL_FALSE); drawable->driverPrivate = fb; |