[Mesa-dev] [PATCH 3/5] mesa: fix ir_variable declaration
Brian Paul
brianp at vmware.com
Thu Jan 12 09:49:20 PST 2012
ir_variable is a class, not a struct.
---
src/mesa/main/ff_fragment_shader.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
index 7b8d1fe..afc17dc 100644
--- a/src/mesa/main/ff_fragment_shader.cpp
+++ b/src/mesa/main/ff_fragment_shader.cpp
@@ -528,7 +528,7 @@ struct texenv_fragment_program {
*/
/* Texcoord override from bumpmapping. */
- struct ir_variable *texcoord_tex[MAX_TEXTURE_COORD_UNITS];
+ ir_variable *texcoord_tex[MAX_TEXTURE_COORD_UNITS];
/* Reg containing texcoord for a texture unit,
* needed for bump mapping, else undef.
--
1.7.3.4
More information about the mesa-dev
mailing list