summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_tga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c
index b4ad24b1ee..659c6f66eb 100644
--- a/libvo/vo_tga.c
+++ b/libvo/vo_tga.c
@@ -193,8 +193,8 @@ static int draw_frame(uint8_t * src[])
static int query_format(uint32_t format)
{
switch(format){
- case IMGFMT_BGR|15:
- case IMGFMT_BGR|24:
+ case IMGFMT_BGR15:
+ case IMGFMT_BGR24:
case IMGFMT_BGRA:
return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
}