i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning.
authorVinson Lee <vlee@vmware.com>
Tue, 14 Sep 2010 06:42:35 +0000 (23:42 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 14 Sep 2010 06:42:35 +0000 (23:42 -0700)
Fixes the following GCC warning.
i915_screen.c: In function 'i915_get_shader_param':
i915_screen.c:147: warning: implicit declaration of function 'draw_get_shader_param'

src/gallium/drivers/i915/i915_screen.c

index 34bd81f9bd641d7d783207823475d573439135ed..98f1e7012f6531bc8d3b6bd033b5c87d4bec4518 100644 (file)
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 
+#include "draw/draw_context.h"
 #include "util/u_inlines.h"
 #include "util/u_memory.h"
 #include "util/u_string.h"