summaryrefslogtreecommitdiffstats
path: root/opengl/tests
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2014-03-25 14:59:26 -0700
committerAndy McFadden <fadden@android.com>2014-03-25 14:59:26 -0700
commitf3ed9a21b83df1e1b4aa8d2cdd08114de3484b59 (patch)
tree6a3721e14c8f7c8f3a34592e4cb6b2edb9c3032d /opengl/tests
parentf3f2afd8ccdce3f7d367907ffe663d104a08b790 (diff)
downloadframeworks_native-f3ed9a21b83df1e1b4aa8d2cdd08114de3484b59.zip
frameworks_native-f3ed9a21b83df1e1b4aa8d2cdd08114de3484b59.tar.gz
frameworks_native-f3ed9a21b83df1e1b4aa8d2cdd08114de3484b59.tar.bz2
Request RGBX rather than RGBA
Fixes San Angeles for certain devices. Bug 13641473 Change-Id: Icb148e1fed15fe56297942475c095e7eb4a11549
Diffstat (limited to 'opengl/tests')
-rw-r--r--opengl/tests/lib/WindowSurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tests/lib/WindowSurface.cpp b/opengl/tests/lib/WindowSurface.cpp
index ff91260..1428945 100644
--- a/opengl/tests/lib/WindowSurface.cpp
+++ b/opengl/tests/lib/WindowSurface.cpp
@@ -56,7 +56,7 @@ WindowSurface::WindowSurface() {
sp<SurfaceControl> sc = surfaceComposerClient->createSurface(
String8("Benchmark"), width, height,
- PIXEL_FORMAT_RGBA_8888, ISurfaceComposerClient::eOpaque);
+ PIXEL_FORMAT_RGBX_8888, ISurfaceComposerClient::eOpaque);
if (sc == NULL || !sc->isValid()) {
fprintf(stderr, "Failed to create SurfaceControl\n");
return;