From: Brian Paul Date: Thu, 12 Jan 2012 16:53:07 +0000 (-0700) Subject: mesa: fix ir_variable declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=decd018b992eb0f7f85338ee39083daca04885b6;p=mesa.git 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 --- diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp index 7b8d1fe9b50..afc17dc49a2 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.