ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Aug 2011 21:08:06 +0000 (14:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Aug 2011 06:29:24 +0000 (23:29 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/ir_to_mesa.cpp

index b1211c1145c674062ceeab0a24bc77cc82eb64a9..ec3fba182d87fd70e378810c51f87ce795347014 100644 (file)
@@ -581,7 +581,7 @@ ir_to_mesa_visitor::emit_scs(ir_instruction *ir, enum prog_opcode op,
    }
 }
 
-struct src_reg
+src_reg
 ir_to_mesa_visitor::src_reg_for_float(float val)
 {
    src_reg src(PROGRAM_CONSTANT, -1, NULL);
@@ -725,7 +725,7 @@ ir_to_mesa_visitor::visit(ir_variable *ir)
         }
       }
 
-      struct variable_storage *storage;
+      variable_storage *storage;
       dst_reg dst;
       if (i == ir->num_state_slots) {
         /* We'll set the index later. */