Index: tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp |
diff --git a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp |
index 8fdd3fea867137c8ea18562e54233d3654933a6b..06bd70f85214be20b499368bbbaae00816a95763 100644 |
--- a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp |
+++ b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp |
@@ -320,6 +320,8 @@ void EGLFenceSync::deleteFence(sk_gpu_test::PlatformFence platformFence) const { |
eglDestroySyncKHR(fDisplay, eglsync); |
} |
+GR_STATIC_ASSERT(sizeof(EGLSyncKHR) <= sizeof(sk_gpu_test::PlatformFence)); |
+ |
} // anonymous namespace |
namespace sk_gpu_test { |
@@ -337,4 +339,3 @@ GLTestContext *CreatePlatformGLTestContext(GrGLStandard forcedGpuAPI, |
return ctx; |
} |
} // namespace sk_gpu_test |
- |