Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp
- index c65bddfbb..a95c24560 100644
- --- a/opengl/libs/EGL/eglApi.cpp
- +++ b/opengl/libs/EGL/eglApi.cpp
- @@ -456,7 +456,8 @@ EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
- // Translates EGL color spaces to Android data spaces.
- static android_dataspace dataSpaceFromEGLColorSpace(EGLint colorspace) {
- if (colorspace == EGL_GL_COLORSPACE_LINEAR_KHR) {
- - return HAL_DATASPACE_SRGB_LINEAR;
- + return HAL_DATASPACE_UNKNOWN;
- + //return HAL_DATASPACE_SRGB_LINEAR;
- } else if (colorspace == EGL_GL_COLORSPACE_SRGB_KHR) {
- return HAL_DATASPACE_SRGB;
- } else if (colorspace == EGL_GL_COLORSPACE_DISPLAY_P3_EXT) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement