Mesa (master): mesa: fix ir_variable declaration

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 12 20:07:03 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 12 09:53:07 2012 -0700

mesa: fix ir_variable declaration

ir_variable is a class, not a struct.

NOTE: This is a candidate for the 8.0 branch.

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

---

 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.




More information about the mesa-commit mailing list