freedreno: Use the right amount of &'s
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 22:03:55 +0000 (15:03 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 22:03:55 +0000 (15:03 -0700)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5176>

src/gallium/drivers/freedreno/freedreno_context.c

index 9a27a95e2c3833b742c622fa3d9ac5fc69095d6f..c45a1583eac3c2d9f0436c6de311f4f675f40caf 100644 (file)
@@ -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++);