slang: fix typos

This commit is contained in:
Zack Rusin 2010-07-08 00:33:31 -04:00
parent f11e25ee95
commit 396f2cd94f

View 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") ){