swrast: Fix implicit declaration warnings
authorChad Versace <chad.versace@linux.intel.com>
Sat, 28 Jan 2012 00:44:26 +0000 (16:44 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Sat, 28 Jan 2012 00:53:51 +0000 (16:53 -0800)
In a recent commit,
    commit 1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89
    Author: Chad Versace <chad.versace@linux.intel.com>
    swrast: Fix fixed-function fragment processing
I defined a new function,_swrast_fragment_program, but neglected
to #include s_fragprog.h for clients of that function.

Note: This is a candidate for the 8.0 branch.
Reported-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/swrast/s_context.h

index ae239a9a8062665a5feca849214109024a2eef74..363bdf03ad5b906711bba61d70d4e7eb3ad823fa 100644 (file)
@@ -47,6 +47,7 @@
 #include "main/mtypes.h"
 #include "program/prog_execute.h"
 #include "swrast.h"
+#include "s_fragprog.h"
 #include "s_span.h"