Commit 84fdc62c by Jiawei Shao Committed by Commit Bot

Fix a compile error when ANGLE_D3D9EX == ANGLE_DISABLED

This patch fixes a compile error when we specify ANGLE_D3D9EX as ANGLE_DISABLED by using "UNREACHABLE()" alone instead of using it as a parameter in "ASSERT". BUG=angleproject:2434 Change-Id: Ib995a951de31edcf49598a6720f677b5ec5bd855 Reviewed-on: https://chromium-review.googlesource.com/967685Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJiajia Qin <jiajia.qin@intel.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 3cd48fff
...@@ -2342,7 +2342,7 @@ bool Renderer9::isRemovedDeviceResettable() const ...@@ -2342,7 +2342,7 @@ bool Renderer9::isRemovedDeviceResettable() const
SafeRelease(d3d9Ex); SafeRelease(d3d9Ex);
#else #else
ASSERT(UNREACHABLE()); UNREACHABLE();
#endif #endif
return success; return success;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment