Mesa (master): glsl: remove struct keyword from ir_variable declarations

Brian Paul brianp at kemper.freedesktop.org
Mon Sep 9 23:53:07 UTC 2013


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Sep  9 17:02:19 2013 -0600

glsl: remove struct keyword from ir_variable declarations

To silence MSVC warnings.

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

---

 src/glsl/opt_dead_builtin_varyings.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp
index 6745d5c..3cdd130 100644
--- a/src/glsl/opt_dead_builtin_varyings.cpp
+++ b/src/glsl/opt_dead_builtin_varyings.cpp
@@ -391,10 +391,10 @@ public:
 
 private:
    const varying_info_visitor *info;
-   struct ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
-   struct ir_variable *new_color[2];
-   struct ir_variable *new_backcolor[2];
-   struct ir_variable *new_fog;
+   ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
+   ir_variable *new_color[2];
+   ir_variable *new_backcolor[2];
+   ir_variable *new_fog;
 };
 
 




More information about the mesa-commit mailing list