Nouveau: minor winsys API fix
authorPekka Paalanen <pq@iki.fi>
Sun, 30 Nov 2008 18:54:02 +0000 (20:54 +0200)
committerPekka Paalanen <pq@iki.fi>
Sun, 30 Nov 2008 18:54:02 +0000 (20:54 +0200)
Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c

index 704f6c77506357f4518d094cda822ae123c1eef5..68aade829d50c7698949442462ec19ed8a00012f 100644 (file)
@@ -47,7 +47,8 @@ struct nouveau_softpipe_winsys {
  * Return list of surface formats supported by this driver.
  */
 static boolean
-nouveau_is_format_supported(struct softpipe_winsys *sws, uint format)
+nouveau_is_format_supported(struct softpipe_winsys *sws,
+                                               enum pipe_format format)
 {
        switch (format) {
        case PIPE_FORMAT_A8R8G8B8_UNORM: