summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-25 19:21:38 +0200
committerMarek Olšák <[email protected]>2015-08-29 23:18:23 +0200
commit7dc8a3497fdf0fbd8ff4381712a54c2cd94bfbfc (patch)
tree005f8e6cfe99b5b5a229c6e581ce090f8fe2d5fd
parent379e3382e8631fdd15c28c6643512205483e7b99 (diff)
radeonsi: don't use the emit qt keyword in si_init_atom
It confuses my editor.
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index c923ea7e154..806ab5f0e22 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -35,10 +35,10 @@
#include "util/u_pstipple.h"
static void si_init_atom(struct r600_atom *atom, struct r600_atom **list_elem,
- void (*emit)(struct si_context *ctx, struct r600_atom *state),
+ void (*emit_func)(struct si_context *ctx, struct r600_atom *state),
unsigned num_dw)
{
- atom->emit = (void*)emit;
+ atom->emit = (void*)emit_func;
atom->num_dw = num_dw;
atom->dirty = false;
*list_elem = atom;