Mesa (master): swrast: Fix implicit declaration warnings

Chad Versace chadversary at kemper.freedesktop.org
Sat Jan 28 00:54:18 UTC 2012


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

Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Fri Jan 27 16:44:26 2012 -0800

swrast: Fix implicit declaration warnings

In a recent commit,
    commit 1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89
    Author: Chad Versace <chad.versace at 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 at vmware.com>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

---

 src/mesa/swrast/s_context.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index ae239a9..363bdf0 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -47,6 +47,7 @@
 #include "main/mtypes.h"
 #include "program/prog_execute.h"
 #include "swrast.h"
+#include "s_fragprog.h"
 #include "s_span.h"
 
 




More information about the mesa-commit mailing list