From: Pekka Paalanen Date: Sun, 30 Nov 2008 18:54:02 +0000 (+0200) Subject: Nouveau: minor winsys API fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbcfc0dcde4eee248812881d32b134fd733212d2;p=mesa.git Nouveau: minor winsys API fix Signed-off-by: Pekka Paalanen --- diff --git a/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c b/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c index 704f6c77506..68aade829d5 100644 --- a/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c +++ b/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c @@ -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: