Commit 44b07e94 by Corentin Wallez

Fix compilation of libtester_main on Linux

Replace usage of std::exception by std::runtime_error BUG=angleproject:892 Change-Id: I214fe6a93944dcfb39b0633f46caf3b1187bd5d3 Reviewed-on: https://chromium-review.googlesource.com/275815Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 22cebb0a
......@@ -54,7 +54,7 @@ ANGLE_LIBTESTER_EXPORT void deqp_libtester_init_platform(int argc, char **argv,
if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST))
{
throw std::exception("Failed to set floating point rounding mode.");
throw std::runtime_error("Failed to set floating point rounding mode.");
}
// TODO(jmadill): filter arguments
......
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