Mesa (master): ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat Aug 20 06:29:25 UTC 2011


Module: Mesa
Branch: master
Commit: 07e9b9049f94ceb443eac1206cc3f9e1e51ac6c1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07e9b9049f94ceb443eac1206cc3f9e1e51ac6c1

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Aug 18 14:08:06 2011 -0700

ir_to_mesa: Remove incorrect usage of the 'struct' keyword on classes.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/program/ir_to_mesa.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index b1211c1..ec3fba1 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. */




More information about the mesa-commit mailing list