Commit 96c91698 by Greg Hartman

Swap red and blue channel in the default Android config.

Bug 25432320 Change-Id: I3fd6d123cc1c15f04092a888a8e5c996d1bd4231 Reviewed-on: https://swiftshader-review.googlesource.com/4200Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarGreg Hartman <ghartman@google.com>
parent 76394858
...@@ -659,7 +659,7 @@ sw::Format Display::getDisplayFormat() const ...@@ -659,7 +659,7 @@ sw::Format Display::getDisplayFormat() const
} }
// No framebuffer device found, or we're in user space // No framebuffer device found, or we're in user space
return sw::FORMAT_X8R8G8B8; return sw::FORMAT_X8B8G8R8;
#else #else
if(platform == EGL_PLATFORM_X11_EXT) if(platform == EGL_PLATFORM_X11_EXT)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment