From: Emil Velikov <[email protected]>

Analogous to previous commit.

Signed-off-by: Emil Velikov <[email protected]>
---
 src/gallium/auxiliary/draw/draw_context.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/auxiliary/draw/draw_context.h 
b/src/gallium/auxiliary/draw/draw_context.h
index 145fc2ed46..d6b85e20cf 100644
--- a/src/gallium/auxiliary/draw/draw_context.h
+++ b/src/gallium/auxiliary/draw/draw_context.h
@@ -68,6 +68,10 @@ struct draw_context *draw_create( struct pipe_context *pipe 
);
 #if HAVE_LLVM
 struct draw_context *draw_create_with_llvm_context(struct pipe_context *pipe,
                                                    void *context);
+#else
+static inline struct draw_context *
+draw_create_with_llvm_context(struct pipe_context *pipe,
+                              void *context) { return NULL; }
 #endif
 
 struct draw_context *draw_create_no_llvm(struct pipe_context *pipe);
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to