summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-12 12:59:19 -0700
committerBrian <[email protected]>2007-12-12 12:59:19 -0700
commitb22287d0972ab37c822457a31609adfc4fb98573 (patch)
tree5276656a2f466b0af6157f755c5bd073d54a78f3
parentd7aa44636988941d5d09ba943104033dd1912c80 (diff)
update format param type
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
index f9ed6253f1d..cec3437831c 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
@@ -31,9 +31,10 @@
#include "intel_context.h"
#include "intel_winsys.h"
-#include "pipe/softpipe/sp_winsys.h"
#include "pipe/p_defines.h"
#include "pipe/p_util.h"
+#include "pipe/p_format.h"
+#include "pipe/softpipe/sp_winsys.h"
struct intel_softpipe_winsys {
@@ -45,7 +46,8 @@ struct intel_softpipe_winsys {
* Return list of surface formats supported by this driver.
*/
static boolean
-intel_is_format_supported(struct softpipe_winsys *sws, uint format)
+intel_is_format_supported(struct softpipe_winsys *sws,
+ enum pipe_format format)
{
switch(format) {
case PIPE_FORMAT_A8R8G8B8_UNORM: