diff options
author | Brian Paul <[email protected]> | 2017-11-09 10:48:42 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-09 14:13:59 -0700 |
commit | b99c6288c174481a0227edf8c17cd0c92ddce5e7 (patch) | |
tree | 356046d854664e0681def82fdb2a9df352527d1b | |
parent | 750ee4182e7508acc04cce9bf4f4ea27f875ec38 (diff) |
st/mesa: remove 'struct' keyword on function parameter
st_src_reg is a class, not a struct. Simply remove 'struct' to silence
a MSVC compiler warning (class vs. struct mismatch).
Reviewed-by; Charmaine Lee <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index fd9df61f4f7..ef6ad39f03d 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4588,8 +4588,7 @@ glsl_to_tgsi_visitor::simplify_cmp(void) } static void -rename_temp_handle_src(struct rename_reg_pair *renames, - struct st_src_reg *src) +rename_temp_handle_src(struct rename_reg_pair *renames, st_src_reg *src) { if (src && src->file == PROGRAM_TEMPORARY) { int old_idx = src->index; |