summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2012-02-07 15:09:26 -0800
committerStéphane Marchesin <[email protected]>2012-02-12 16:32:15 -0800
commit8b3e0b27157aeea6e82941843d8446d2848b2218 (patch)
tree1ce550ce14cb4822c8eecd5fc9d070bf0ee54903 /src/gallium
parentc1896cdc9182af45a4a1fea087f013f29fca4008 (diff)
i915g: Fix comments.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i915/i915_state_sampler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_state_sampler.c b/src/gallium/drivers/i915/i915_state_sampler.c
index 9eadf31f57b..19d3c83ffcd 100644
--- a/src/gallium/drivers/i915/i915_state_sampler.c
+++ b/src/gallium/drivers/i915/i915_state_sampler.c
@@ -46,13 +46,13 @@
* 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.