summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 09:59:30 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commita86054bac70f913880bd838d4565c1270b0c00aa (patch)
treec751e969b6770778f3bcf29e5c6e2f54d60e9b61 /src/mesa/state_tracker
parenta2b366b92cecc5045293528aa0bb8b1f0678bbcc (diff)
st/mesa: remove struct qualifier from st_src_reg parameter
It's a class. Silences MSVC warning.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
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: