Mesa (master): i915: Fix "implicit declaration of function ' draw_get_shader_param'" warning.

Vinson Lee vlee at kemper.freedesktop.org
Mon Sep 13 23:44:40 PDT 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Sep 13 23:42:35 2010 -0700

i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning.

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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 34bd81f..98f1e70 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 
+#include "draw/draw_context.h"
 #include "util/u_inlines.h"
 #include "util/u_memory.h"
 #include "util/u_string.h"



More information about the mesa-commit mailing list