From 499aa3ddb448a7461c0bdea93c8f218db6992720 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 28 Mar 2013 17:03:57 -0600 Subject: draw: fix some build breakage when LLVM is not used Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62883 Tested-by: Vinson Lee --- src/gallium/auxiliary/draw/draw_gs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/draw/draw_gs.h') diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h index e62b34a1794..9c826485aba 100644 --- a/src/gallium/auxiliary/draw/draw_gs.h +++ b/src/gallium/auxiliary/draw/draw_gs.h @@ -132,7 +132,9 @@ void draw_geometry_shader_prepare(struct draw_geometry_shader *shader, int draw_gs_max_output_vertices(struct draw_geometry_shader *shader, unsigned pipe_prim); +#ifdef HAVE_LLVM void draw_gs_set_current_variant(struct draw_geometry_shader *shader, struct draw_gs_llvm_variant *variant); +#endif #endif -- cgit v1.2.3