Mesa (master): freedreno: Use the right amount of &'s

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 22 22:30:11 UTC 2020


Module: Mesa
Branch: master
Commit: 5f365affc906ed9b07857a6fafbb5d51f3f1a607
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f365affc906ed9b07857a6fafbb5d51f3f1a607

Author: Kristian H. Kristensen <hoegsberg at google.com>
Date:   Fri May 22 15:03:55 2020 -0700

freedreno: Use the right amount of &'s

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5176>

---

 src/gallium/drivers/freedreno/freedreno_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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++);



More information about the mesa-commit mailing list