ir_to_mesa: Fix struct/class confusion
authornobled <nobled@dreamwidth.org>
Sun, 22 Aug 2010 05:16:53 +0000 (05:16 +0000)
committerEric Anholt <eric@anholt.net>
Tue, 31 Aug 2010 18:34:29 +0000 (11:34 -0700)
src/mesa/program/ir_to_mesa.cpp

index 768c11e3bf6fc40c7f3b4ec3e06f34a3c563af67..337ecbaa937fa88219c54f984d30c898bf3e0374 100644 (file)
@@ -1369,7 +1369,7 @@ ir_to_mesa_visitor::visit(ir_dereference_array *ir)
    if (deref_var && strncmp(deref_var->var->name,
                            "gl_TextureMatrix",
                            strlen("gl_TextureMatrix")) == 0) {
-      struct variable_storage *entry;
+      variable_storage *entry;
 
       entry = get_builtin_matrix_ref(this->mem_ctx, this->prog, deref_var->var,
                                     ir->array_index);