diff options
author | Kristian H. Kristensen <[email protected]> | 2020-05-22 15:03:55 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2020-05-22 15:03:55 -0700 |
commit | 5f365affc906ed9b07857a6fafbb5d51f3f1a607 (patch) | |
tree | 1ac4517884626cfeb5dd20e76c6f8a3a47aee6f5 /src/gallium/drivers/freedreno | |
parent | 1f33ca1fed59c4d7b4abdb2121cdc907bc4ccd2e (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.c | 2 |
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++); |