changeset 31653:39dbcbd0d1d5

Use the proper imgfmt names.
author reimar
date Sun, 11 Jul 2010 21:30:45 +0000
parents c49231cc0f95
children 827ea30d89ee
files libvo/vo_tga.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_tga.c	Sun Jul 11 21:25:06 2010 +0000
+++ b/libvo/vo_tga.c	Sun Jul 11 21:30:45 2010 +0000
@@ -194,8 +194,8 @@
 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;
     }