Mesa (master): st/mesa: change glsl_to_tgsi_visitor from class to struct

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 6 15:11:32 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Nov  4 16:43:44 2012 -0700

st/mesa: change glsl_to_tgsi_visitor from class to struct

To match the declaration in the .h file and silence an MSVC warning.

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

---

 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();




More information about the mesa-commit mailing list