From dbcfc0dcde4eee248812881d32b134fd733212d2 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Sun, 30 Nov 2008 20:54:02 +0200 Subject: Nouveau: minor winsys API fix Signed-off-by: Pekka Paalanen --- src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/winsys/drm') 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: -- cgit v1.2.3