summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/nouveau
diff options
context:
space:
mode:
authorPekka Paalanen <[email protected]>2008-11-30 20:54:02 +0200
committerPekka Paalanen <[email protected]>2008-11-30 20:54:02 +0200
commitdbcfc0dcde4eee248812881d32b134fd733212d2 (patch)
tree5a67a483b63c0f3d1583f0e11e21b0d608aab41b /src/gallium/winsys/drm/nouveau
parentbb29d066dc5c5188bafadf7b702d44ed571e855e (diff)
Nouveau: minor winsys API fix
Signed-off-by: Pekka Paalanen <[email protected]>
Diffstat (limited to 'src/gallium/winsys/drm/nouveau')
-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 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: