summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-02-16 20:43:39 -0800
committerMathias Agopian <mathias@google.com>2010-02-16 20:43:39 -0800
commit3db21640519541141137166ce55627cf76e1974b (patch)
tree48af75f7a13cedb2967007296c510ee312be5134 /include
parent40cece49ddf328ceadd8c3cc2503ac500fba7552 (diff)
downloadframeworks_native-3db21640519541141137166ce55627cf76e1974b.zip
frameworks_native-3db21640519541141137166ce55627cf76e1974b.tar.gz
frameworks_native-3db21640519541141137166ce55627cf76e1974b.tar.bz2
fix a bug I introduced recently where YUV formats would crash the system
Diffstat (limited to 'include')
-rw-r--r--include/ui/PixelFormat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ui/PixelFormat.h b/include/ui/PixelFormat.h
index 607155c..f46f25c 100644
--- a/include/ui/PixelFormat.h
+++ b/include/ui/PixelFormat.h
@@ -90,7 +90,8 @@ struct PixelFormatInfo
RGB = 2,
RGBA = 3,
LUMINANCE = 4,
- LUMINANCE_ALPHA = 5
+ LUMINANCE_ALPHA = 5,
+ OTHER = 0xFF
};
struct szinfo {