mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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:
parent
750ee4182e
commit
b99c6288c1
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue