Request RGBX rather than RGBA
Fixes San Angeles for certain devices. Bug 13641473 Change-Id: Icb148e1fed15fe56297942475c095e7eb4a11549
This commit is contained in:
parent
f3f2afd8cc
commit
f3ed9a21b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user