From: Kenneth Graunke Date: Thu, 18 Aug 2011 21:08:06 +0000 (-0700) Subject: ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07e9b9049f94ceb443eac1206cc3f9e1e51ac6c1;p=mesa.git ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes. Signed-off-by: Kenneth Graunke --- diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index b1211c1145c..ec3fba182d8 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -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. */