summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple
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/i915simple
parent41ce1f8fb30c9a918d85d4016ce82fe2a3d2c72c (diff)
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.
intel_winsys works again.
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r--src/mesa/pipe/i915simple/i915_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/pipe/i915simple/i915_texture.c b/src/mesa/pipe/i915simple/i915_texture.c
index 59e8db8a951..fefd105adf7 100644
--- a/src/mesa/pipe/i915simple/i915_texture.c
+++ b/src/mesa/pipe/i915simple/i915_texture.c
@@ -495,9 +495,7 @@ i915_texture_create(struct pipe_context *pipe, struct pipe_texture **pt)
if (i915->flags.is_i945 ? i945_miptree_layout(pipe, tex) :
i915_miptree_layout(pipe, tex)) {
- tex->buffer = pipe->winsys->buffer_create(pipe->winsys,
- PIPE_SURFACE_FLAG_TEXTURE,
- 0, 0);
+ tex->buffer = pipe->winsys->buffer_create(pipe->winsys, 64, 0, 0);
if (tex->buffer)
pipe->winsys->buffer_data(pipe->winsys, tex->buffer,