From: Brian Paul Date: Tue, 24 Feb 2015 16:59:30 +0000 (-0700) Subject: st/mesa: remove struct qualifier from st_src_reg parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a86054bac70f913880bd838d4565c1270b0c00aa;p=mesa.git st/mesa: remove struct qualifier from st_src_reg parameter It's a class. Silences MSVC warning. --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 50a810c97a4..b3055076591 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4659,7 +4659,7 @@ dst_register(struct st_translate *t, * Map a glsl_to_tgsi src register to a TGSI ureg_src register. */ static struct ureg_src -src_register(struct st_translate *t, const struct st_src_reg *reg) +src_register(struct st_translate *t, const st_src_reg *reg) { switch(reg->file) { case PROGRAM_UNDEFINED: