| Index: gpu/perftests/texture_upload_perftest.cc
|
| diff --git a/gpu/perftests/texture_upload_perftest.cc b/gpu/perftests/texture_upload_perftest.cc
|
| index b562f3f3694302d7f819d04e37b47bb0538889c5..b602c3610f65069d114848392bd80170c7193a05 100644
|
| --- a/gpu/perftests/texture_upload_perftest.cc
|
| +++ b/gpu/perftests/texture_upload_perftest.cc
|
| @@ -68,7 +68,7 @@ SHADER(
|
| // clang-format on
|
|
|
| void CheckNoGlError(const std::string& msg) {
|
| - CHECK_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()) << " " << msg;
|
| + LOG_IF(FATAL, static_cast<GLenum>(GL_NO_ERROR) != glGetError()) << msg;
|
| }
|
|
|
| // Utility function to compile a shader from a string.
|
|
|