summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_fbo.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-12-10 17:31:52 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-12-10 17:36:59 +0100
commit37484a387495f1241e5e1220243d6355f5333aca (patch)
tree209838a18f948c0368bbeecdd1191f26a07b5378 /src/mesa/state_tracker/st_cb_fbo.c
parent41ce1f8fb30c9a918d85d4016ce82fe2a3d2c72c (diff)
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.
intel_winsys works again.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index 10396c3feb..36d25a576d 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -118,7 +118,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
pipe->winsys->buffer_reference(pipe->winsys, &strb->surface->buffer,
NULL);
- strb->surface->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, flags, 0);
+ strb->surface->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, 0, 0);
if (!strb->surface->buffer)
return GL_FALSE; /* out of memory, try s/w buffer? */