summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-07-15 18:34:11 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-07-15 18:34:11 -0700
commit4cc8c7dd8ebaf38f8f6ad1a9f924f3ea9ad2295d (patch)
tree440e62b73a81149b7a15827a10689cc1408daa1e /libs/rs/rsContext.cpp
parent49763e42460d87c51485311507a45e5da636f2a5 (diff)
parent7aa4f3a16355848e3cdf01642aca68416e80fd14 (diff)
Merge change 7489
* changes: More test app work
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 4025ff81a008..78b8bf89e9e8 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -35,9 +35,16 @@ void Context::initEGL()
EGLint s_configAttribs[] = {
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
+#if 1
+ EGL_RED_SIZE, 8,
+ EGL_GREEN_SIZE, 8,
+ EGL_BLUE_SIZE, 8,
+ EGL_ALPHA_SIZE, 8,
+#else
EGL_RED_SIZE, 5,
EGL_GREEN_SIZE, 6,
EGL_BLUE_SIZE, 5,
+#endif
EGL_DEPTH_SIZE, 16,
EGL_NONE
};