Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp
  2. index c65bddfbb..a95c24560 100644
  3. --- a/opengl/libs/EGL/eglApi.cpp
  4. +++ b/opengl/libs/EGL/eglApi.cpp
  5. @@ -456,7 +456,8 @@ EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
  6. // Translates EGL color spaces to Android data spaces.
  7. static android_dataspace dataSpaceFromEGLColorSpace(EGLint colorspace) {
  8. if (colorspace == EGL_GL_COLORSPACE_LINEAR_KHR) {
  9. - return HAL_DATASPACE_SRGB_LINEAR;
  10. + return HAL_DATASPACE_UNKNOWN;
  11. + //return HAL_DATASPACE_SRGB_LINEAR;
  12. } else if (colorspace == EGL_GL_COLORSPACE_SRGB_KHR) {
  13. return HAL_DATASPACE_SRGB;
  14. } else if (colorspace == EGL_GL_COLORSPACE_DISPLAY_P3_EXT) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement