Mesa (master): glsl: fix a comment typo

Alan Hourihane alanh at kemper.freedesktop.org
Wed Jan 14 00:13:08 UTC 2009


Module: Mesa
Branch: master
Commit: 14eca6b573f70485feb6dc6bc048843e1b65e780
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14eca6b573f70485feb6dc6bc048843e1b65e780

Author: Alan Hourihane <alanh at vmware.com>
Date:   Tue Jan 13 23:59:18 2009 +0000

glsl: fix a comment typo

---

 src/mesa/shader/slang/slang_codegen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 2094665..a19fc0b 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -4301,7 +4301,7 @@ _slang_codegen_global_variable(slang_assemble_ctx *A, slang_variable *var,
 	  * additional samplers to ensure we don't allocate them elsewhere.
 	  * We can't directly use _mesa_add_sampler() as that checks the
 	  * varName and gets a match, so we call _mesa_add_parameter()
-	  * directly and use the last sampler number for the call above.
+	  * directly and use the last sampler number from the call above.
 	  */
 	 if (arrayLen > 0) {
 	    GLint a = arrayLen - 1;




More information about the mesa-commit mailing list