mesa: fix ir_variable declaration
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 16:53:07 +0000 (09:53 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 20:02:44 +0000 (13:02 -0700)
ir_variable is a class, not a struct.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/ff_fragment_shader.cpp

index 7b8d1fe9b509279a12e296111c30540c735ac5f4..afc17dc49a25e3ea87e2e3bede982715eeeb518a 100644 (file)
@@ -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.