i915g: Fix comments.
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 7 Feb 2012 23:09:26 +0000 (15:09 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Mon, 13 Feb 2012 00:32:15 +0000 (16:32 -0800)
src/gallium/drivers/i915/i915_state_sampler.c

index 9eadf31f57bf7933e2b696375bdb75eb474ef4f5..19d3c83ffcd0923af290dd67f8814e44fe80f756 100644 (file)
  * max_lod =< last_level == true
  *
  *
- * This is all fine and dandy if it where for the fact that max_lod
+ * This is all fine and dandy if it were for the fact that max_lod
  * is set on the map state instead of the sampler state. That is
  * the max_lod we submit on map is:
  * max_lod = MIN2(last_level, max_lod);
  *
  * So we need to update the map state when we change samplers and
- * we need to be change the sampler state when map state is changed.
+ * we need to change the sampler state when map state is changed.
  * The first part is done by calling update_texture in update_samplers
  * and the second part is done else where in code tracking the state
  * changes.