glsl: fix a comment typo
authorAlan Hourihane <alanh@vmware.com>
Tue, 13 Jan 2009 23:59:18 +0000 (23:59 +0000)
committerAlan Hourihane <alanh@vmware.com>
Wed, 14 Jan 2009 00:12:59 +0000 (00:12 +0000)
src/mesa/shader/slang/slang_codegen.c

index 20946650293b8c248349ad58a865ac36f5d8d053..a19fc0b1062a24e29e782d3b840dd8ef5bf88526 100644 (file)
@@ -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;