summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-01-06 10:04:31 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-01-08 11:37:29 -0800
commitbad39f6c1e0680fa90399c8f330a8c17551deb98 (patch)
treefb470e916a710789b99281f290ed9bd18846001a /src/mesa/main/texparam.c
parentc2c50778648e8d3ae13c6233ed3b7149327a2b1f (diff)
downloadexternal_mesa3d-bad39f6c1e0680fa90399c8f330a8c17551deb98.zip
external_mesa3d-bad39f6c1e0680fa90399c8f330a8c17551deb98.tar.gz
external_mesa3d-bad39f6c1e0680fa90399c8f330a8c17551deb98.tar.bz2
main: Fixed some comments in texparam.c
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r--src/mesa/main/texparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index cb483f3..772e699 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -229,7 +229,7 @@ set_swizzle_component(GLuint *swizzle, GLuint comp, GLuint swz)
/**
* This is called just prior to changing any texture object state which
- * will not effect texture completeness.
+ * will not affect texture completeness.
*/
static inline void
flush(struct gl_context *ctx)
@@ -240,7 +240,7 @@ flush(struct gl_context *ctx)
/**
* This is called just prior to changing any texture object state which
- * can effect texture completeness (texture base level, max level).
+ * could affect texture completeness (texture base level, max level).
* Any pending rendering will be flushed out, we'll set the _NEW_TEXTURE
* state flag and then mark the texture object as 'incomplete' so that any
* per-texture derived state gets recomputed.