summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_screen.c b/src/mesa/drivers/dri/glamo/glamo_screen.c
index 39148f3eb1..8244ec3361 100644
--- a/src/mesa/drivers/dri/glamo/glamo_screen.c
+++ b/src/mesa/drivers/dri/glamo/glamo_screen.c
@@ -166,7 +166,7 @@ static GLboolean glamoCreateBuffer(__DRIscreen *driScrnPriv,
gfb = CALLOC_STRUCT(glamo_framebuffer);
if ( !gfb ) return GL_FALSE;
- _mesa_initialize_framebuffer(&gfb->base, mesaVis);
+ _mesa_initialize_window_framebuffer(&gfb->base, mesaVis);
/* we only support this one format at the moment */
rgbFormat = GL_RGB5;