summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2007-12-09 18:26:26 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-12-09 18:26:26 +0000
commitf8f9580a2a1c89af1dc0e169b62440053d9d7e81 (patch)
treebcc578854902e63c48dc4fbeb7f42ebe2d97c167 /src/mesa/pipe/i915simple
parentde7e51ff9854605cd0bbbe5829d6d987ea0a5fca (diff)
Adapt for winsys interface changes.
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r--src/mesa/pipe/i915simple/i915_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_texture.c b/src/mesa/pipe/i915simple/i915_texture.c
index 1ca2815dfb..59e8db8a95 100644
--- a/src/mesa/pipe/i915simple/i915_texture.c
+++ b/src/mesa/pipe/i915simple/i915_texture.c
@@ -496,7 +496,8 @@ 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);
+ PIPE_SURFACE_FLAG_TEXTURE,
+ 0, 0);
if (tex->buffer)
pipe->winsys->buffer_data(pipe->winsys, tex->buffer,