aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-12-10 17:31:52 +0100
committerMichel Dänzer <[email protected]>2007-12-10 17:36:59 +0100
commit37484a387495f1241e5e1220243d6355f5333aca (patch)
tree209838a18f948c0368bbeecdd1191f26a07b5378 /src/mesa/pipe/softpipe
parent41ce1f8fb30c9a918d85d4016ce82fe2a3d2c72c (diff)
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.
intel_winsys works again.
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_texture.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/pipe/softpipe/sp_texture.c b/src/mesa/pipe/softpipe/sp_texture.c
index cfe96281845..2dd1add6f7b 100644
--- a/src/mesa/pipe/softpipe/sp_texture.c
+++ b/src/mesa/pipe/softpipe/sp_texture.c
@@ -381,10 +381,7 @@ softpipe_texture_create(struct pipe_context *pipe, struct pipe_texture **pt)
sizeof(struct softpipe_texture) - sizeof(struct pipe_texture));
if (softpipe_mipmap_tree_layout(pipe, spt)) {
- spt->buffer = pipe->winsys->buffer_create(pipe->winsys,
- 32,
- PIPE_SURFACE_FLAG_TEXTURE,
- 0);
+ spt->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, 0, 0);
if (spt->buffer) {
pipe->winsys->buffer_data(pipe->winsys, spt->buffer,