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

Commit 18fcfb55 authored by Yunlian Jiang's avatar Yunlian Jiang Committed by George Burgess IV
Browse files

Fix warning: macro redefined

Bug: None
Test: The warning is gone.
Change-Id: I27764f834285fc5d7456a9204afd6cef6915ee61
parent f5c3b20f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -435,9 +435,6 @@ TEST_F(SRGBTest, DISABLED_RenderToSRGBSurface) {
    ASSERT_EQ(NO_ERROR, mCpuConsumer->unlockBuffer(mLockedBuffer));

    // Switch to SRGB window surface
#define EGL_GL_COLORSPACE_KHR      EGL_VG_COLORSPACE
#define EGL_GL_COLORSPACE_SRGB_KHR EGL_VG_COLORSPACE_sRGB

    static const int srgbAttribs[] = {
        EGL_GL_COLORSPACE_KHR, EGL_GL_COLORSPACE_SRGB_KHR,
        EGL_NONE,