diff options
author | Eric Anholt <[email protected]> | 2008-01-09 13:40:40 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-01-09 14:41:42 -0800 |
commit | 5f86ae057a645c03dc1e0c51c2fb1b2628a50e0a (patch) | |
tree | af4251b4feece3ed611c4606852708de1c688392 /src/mesa/drivers/dri/i915/i830_vtbl.c | |
parent | d9edd8e90588417e3d549f25132dab2f21445792 (diff) |
[intel] Rename lost_hardware vtbl entry to new_batch.
Both drivers have ended up relying on lost_hardware being called after each
batch buffer, so update the name. This removes one of the calls on 965 whic
h was outside of the batchbuffer handling code and just duplicating what had
already happened through batchbuffer handling.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i830_vtbl.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/i830_vtbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c index c23c02c0606..412d146fe19 100644 --- a/src/mesa/drivers/dri/i915/i830_vtbl.c +++ b/src/mesa/drivers/dri/i915/i830_vtbl.c @@ -683,7 +683,7 @@ i830_update_color_z_regions(intelContextPtr intel, /* This isn't really handled at the moment. */ static void -i830_lost_hardware(struct intel_context *intel) +i830_new_batch(struct intel_context *intel) { struct i830_context *i830 = i830_context(&intel->ctx); i830->state.emitted = 0; @@ -713,7 +713,7 @@ i830InitVtbl(struct i830_context *i830) i830->intel.vtbl.check_vertex_size = i830_check_vertex_size; i830->intel.vtbl.destroy = i830_destroy_context; i830->intel.vtbl.emit_state = i830_emit_state; - i830->intel.vtbl.lost_hardware = i830_lost_hardware; + i830->intel.vtbl.new_batch = i830_new_batch; i830->intel.vtbl.reduced_primitive_state = i830_reduced_primitive_state; i830->intel.vtbl.set_draw_region = i830_set_draw_region; i830->intel.vtbl.update_texture_state = i830UpdateTextureState; |