summaryrefslogtreecommitdiff
path: root/opengl/libagl/copybit.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-08-07 20:55:14 -0700
committer Mathias Agopian <mathias@google.com> 2009-08-07 20:55:14 -0700
commitdfbec0e282636c9a6bfcc4a18c732911f24445b2 (patch)
tree91315024438d95975449b80de8e8b58cb6bd496a /opengl/libagl/copybit.cpp
parent9fbeb7c6e2b48ea5ee5696e7f8062a4118329567 (diff)
add support for RGBX_8888
Diffstat (limited to 'opengl/libagl/copybit.cpp')
-rw-r--r--opengl/libagl/copybit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/libagl/copybit.cpp b/opengl/libagl/copybit.cpp
index 3c5bcdf39f..867459d648 100644
--- a/opengl/libagl/copybit.cpp
+++ b/opengl/libagl/copybit.cpp
@@ -75,6 +75,8 @@ private:
static bool supportedCopybitsFormat(int format) {
switch (format) {
case COPYBIT_FORMAT_RGBA_8888:
+ case COPYBIT_FORMAT_RGBX_8888:
+ case COPYBIT_FORMAT_RGB_888:
case COPYBIT_FORMAT_RGB_565:
case COPYBIT_FORMAT_BGRA_8888:
case COPYBIT_FORMAT_RGBA_5551: