summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c')
-rw-r--r--src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c b/src/gallium/winsys/drm/nouveau/nouveau_winsys_softpipe.c
index 704f6c7750..68aade829d 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: