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 <charmainel@vmware.com>
This commit is contained in:
Brian Paul 2017-11-09 10:48:42 -07:00
parent 750ee4182e
commit b99c6288c1

View file

@ -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;