summaryrefslogtreecommitdiff
path: root/src/radeon_textured_videofuncs.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2012-02-08 11:35:35 +0100
committerMichel Dänzer <michel@daenzer.net>2012-02-08 11:36:19 +0100
commit5a7f64c5170ca424c9dca739662018e30df13413 (patch)
treee318cb085c6cdf7ebad5bf71e3c3287fc523b815 /src/radeon_textured_videofuncs.c
parent87f776b966f4200c97a989536d4b71822ae4c0b3 (diff)
Fix UMS build failure.
And some UMS specific warnings. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon_textured_videofuncs.c')
-rw-r--r--src/radeon_textured_videofuncs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c
index 84aba6f8..7d4a1c11 100644
--- a/src/radeon_textured_videofuncs.c
+++ b/src/radeon_textured_videofuncs.c
@@ -121,6 +121,8 @@ FUNC_NAME(RADEONPrepareTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv
return FALSE;
}
}
+#else
+ (void)src_bo;
#endif
pixel_shift = pPixmap->drawable.bitsPerPixel >> 4;
@@ -588,6 +590,8 @@ FUNC_NAME(R200PrepareTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
return FALSE;
}
}
+#else
+ (void)src_bo;
#endif
pixel_shift = pPixmap->drawable.bitsPerPixel >> 4;
@@ -1205,6 +1209,8 @@ FUNC_NAME(R300PrepareTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
return FALSE;
}
}
+#else
+ (void)src_bo;
#endif
pixel_shift = pPixmap->drawable.bitsPerPixel >> 4;
@@ -2687,6 +2693,8 @@ FUNC_NAME(R500PrepareTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
return FALSE;
}
}
+#else
+ (void)src_bo;
#endif
pixel_shift = pPixmap->drawable.bitsPerPixel >> 4;