OSDN Git Service

slang: fix typos
authorZack Rusin <zackr@vmware.com>
Thu, 8 Jul 2010 04:33:31 +0000 (00:33 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 8 Jul 2010 04:33:31 +0000 (00:33 -0400)
src/mesa/slang/slang_codegen.c

index 8ebe298..79072cb 100644 (file)
@@ -4191,8 +4191,8 @@ _slang_gen_variable(slang_assemble_ctx * A, slang_operation *oper)
    slang_variable *var = _slang_variable_locate(oper->locals, name, GL_TRUE);
    slang_ir_node *n;
    if (!var || !var->declared) {
-      /* Geometry shader set gl_VerticesIn at link time
-       * so we need to way with resolving this variable
+      /* Geometry shaders set gl_VerticesIn at link time
+       * so we need to wait with resolving this variable
        * until then */
       if (A->program->Target == MESA_GEOMETRY_PROGRAM &&
           !strcmp((char*)name, "gl_VerticesIn") ){