Mesa (master): st/mesa: remove 'struct' keyword on function parameter
Brian Paul
brianp at kemper.freedesktop.org
Thu Nov 9 21:15:50 UTC 2017
Module: Mesa
Branch: master
Commit: b99c6288c174481a0227edf8c17cd0c92ddce5e7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b99c6288c174481a0227edf8c17cd0c92ddce5e7
Author: Brian Paul <brianp at vmware.com>
Date: Thu Nov 9 10:48:42 2017 -0700
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 at vmware.com>
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 +--
1 file changed, 1 insertion(+), 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 fd9df61f4f..ef6ad39f03 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;
More information about the mesa-commit
mailing list