diff options
author | Eric Anholt <[email protected]> | 2007-12-15 16:12:17 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-12-16 11:26:19 -0800 |
commit | c0b4257aa9ba783674ccf7162799385734dff211 (patch) | |
tree | 33d0bbdcd5f2b31660420e82f4b9f99b0e5790ca /src/mesa/drivers/dri/i965/brw_wm_surface_state.c | |
parent | 659baa3f25275b622dad626992af60f3c9ea6d66 (diff) |
[965] Move to using shared texture management code.
This removes the delayed texture upload optimization from 965, in exchange for
bringing us closer to PBO support. It also disables SGIS_generate_mipmap,
which didn't seem to be working before anyway, according to the lodbias demo.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_surface_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index affbca89024..048e098cfb2 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -312,7 +312,7 @@ static void upload_wm_surfaces(struct brw_context *brw ) /* _NEW_TEXTURE, BRW_NEW_TEXDATA */ if (texUnit->_ReallyEnabled && - intel_finalize_mipmap_tree(intel,texUnit->_Current)) + intel_finalize_mipmap_tree(intel, i)) { brw_update_texture_surface(ctx, i); brw->wm.nr_surfaces = i+2; |