[Mesa-dev] [PATCH 06/18] st/mesa: change glsl_to_tgsi_visitor from class to struct
Brian Paul
brianp at vmware.com
Sun Nov 4 15:43:51 PST 2012
To match the declaration in the .h file and silence an MSVC warning.
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 14b72dc..a70a08b 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -285,7 +285,7 @@ public:
st_src_reg return_reg;
};
-class glsl_to_tgsi_visitor : public ir_visitor {
+struct glsl_to_tgsi_visitor : public ir_visitor {
public:
glsl_to_tgsi_visitor();
~glsl_to_tgsi_visitor();
--
1.7.3.4
More information about the mesa-dev
mailing list