[Mesa-dev] [PATCH] r600: include u_memory.h to get Elements() macro

Brian Paul brianp at vmware.com
Mon Apr 25 20:09:43 UTC 2016


Fixes "undefined Elements()" regression caused by commit 63df017fda.
---
 src/gallium/drivers/r600/r600_pipe.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 7793859..6692d4a 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -31,6 +31,7 @@
 #include "r600_public.h"
 
 #include "util/u_suballoc.h"
+#include "util/u_memory.h"
 #include "util/list.h"
 #include "util/u_transfer.h"
 
-- 
1.9.1



More information about the mesa-dev mailing list