use i915_miptree_layout when using an i915
authorBrian <brian.paul@tungstengraphics.com>
Mon, 1 Oct 2007 21:39:15 +0000 (15:39 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 1 Oct 2007 21:39:15 +0000 (15:39 -0600)
src/mesa/pipe/i915simple/i915_context.c

index b27ab48a501ca779e6108af983836eb5bcd899f6..5d97eed247e1763a947aea6e8eb79b3b9487df83 100644 (file)
@@ -311,7 +311,7 @@ struct pipe_context *i915_create( struct pipe_winsys *pipe_winsys,
    if (i915->flags.is_i945)
       i915->pipe.mipmap_tree_layout = i945_miptree_layout;
    else
-      i915->pipe.mipmap_tree_layout = i945_miptree_layout;
+      i915->pipe.mipmap_tree_layout = i915_miptree_layout;
 
 
    i915->dirty = ~0;