aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2020-05-22 15:03:55 -0700
committerKristian H. Kristensen <[email protected]>2020-05-22 15:03:55 -0700
commit5f365affc906ed9b07857a6fafbb5d51f3f1a607 (patch)
tree1ac4517884626cfeb5dd20e76c6f8a3a47aee6f5 /src/gallium/drivers/freedreno
parent1f33ca1fed59c4d7b4abdb2121cdc907bc4ccd2e (diff)
freedreno: Use the right amount of &'s
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5176>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c
index 9a27a95e2c3..c45a1583eac 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.c
+++ b/src/gallium/drivers/freedreno/freedreno_context.c
@@ -438,7 +438,7 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen,
}
#if DETECT_OS_ANDROID
- if (fd_mesa_debug && FD_DBG_LOG) {
+ if (fd_mesa_debug & FD_DBG_LOG) {
static unsigned idx = 0;
char *p;
asprintf(&p, "/data/fdlog/%s-%d.log", util_get_process_name(), idx++);