Skip to content

Commit

Permalink
Skip window resize test on Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
kakashidinho committed May 8, 2021
1 parent 0708a75 commit 4ccacad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/egl_tests/EGLSurfaceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ TEST_P(EGLSurfaceTest, ResizeWindow)
// XGetGeometry. http://anglebug.com/3122
ANGLE_SKIP_TEST_IF(IsLinux() && IsOpenGL());

// NOTE(hqle): Metal back-end doesn't resize window surface after swapBuffers.
// It only resizes after first draw call.
ANGLE_SKIP_TEST_IF(IsMetal());

eglQuerySurface(mDisplay, mWindowSurface, EGL_HEIGHT, &height);
ASSERT_EGL_SUCCESS();
ASSERT_EQ(minSize, height);
Expand Down

0 comments on commit 4ccacad

Please sign in to comment.