Commit 086e4651 by Nicolas Capens

Fix XRGB surface to RGB texture binding.

Change-Id: I6a1dd24d997c64596dc096893338b7f471e64896 Reviewed-on: https://swiftshader-review.googlesource.com/4516Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent cd0ea234
...@@ -101,7 +101,7 @@ Config::Config(sw::Format displayFormat, EGLint minInterval, EGLint maxInterval, ...@@ -101,7 +101,7 @@ Config::Config(sw::Format displayFormat, EGLint minInterval, EGLint maxInterval,
mGreenSize = 8; mGreenSize = 8;
mBlueSize = 8; mBlueSize = 8;
mAlphaSize = 0; mAlphaSize = 0;
mBindToTextureRGBA = EGL_TRUE; mBindToTextureRGB = EGL_TRUE;
#ifdef __ANDROID__ #ifdef __ANDROID__
mNativeVisualID = HAL_PIXEL_FORMAT_RGBX_8888; mNativeVisualID = HAL_PIXEL_FORMAT_RGBX_8888;
#endif #endif
......
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