update format param type
authorBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 19:59:19 +0000 (12:59 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 19:59:19 +0000 (12:59 -0700)
src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c

index f9ed625..cec3437 100644 (file)
 
 #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: