Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a50cfb0e authored by Courtney Goeltzenleuchter's avatar Courtney Goeltzenleuchter Committed by Android (Google) Code Review
Browse files

Merge "Default dataspace must be UNKNOWN for compatibility"

parents 2d13196c 1d4f7a28
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -505,9 +505,11 @@ static EGLBoolean getColorSpaceAttribute(egl_display_ptr dp, const EGLint* attri
                if (!found) {
                    return false;
                }
                // Only change the dataSpace from default if the application
                // has explicitly set the color space with a EGL_GL_COLORSPACE_KHR attribute.
                dataSpace = modifyBufferDataspace(dataSpace, colorSpace);
            }
        }
        dataSpace = modifyBufferDataspace(dataSpace, colorSpace);
    }
    return true;
}