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 f9ed6253f1d7a485aeb8d29f6b820ede85164e57..cec3437831c0ab0c9f5c0a4a8d40eaa62d1fcf98 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: