From: Pyry Haulos Date: Wed, 12 Jul 2017 17:26:57 +0000 (+0000) Subject: Fix typo in framebuffer_srgb_unsupported_enum am: b46d559e07 am: ca35ff2dec X-Git-Tag: upstream/0.1.0^2^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e9c5aeba2f94513a6e97064926adb1caee9527f;hp=e6ed9e25f0a30cdbcfde2398546737f9b977564d;p=platform%2Fupstream%2FVK-GL-CTS.git Fix typo in framebuffer_srgb_unsupported_enum am: b46d559e07 am: ca35ff2dec am: d1399f7f2c Change-Id: I1464f20c06b756681f745f774d9bdfd6092490e4 --- diff --git a/modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp b/modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp index 57f39d2..b4ebcac 100644 --- a/modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp +++ b/modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp @@ -1814,13 +1814,11 @@ bool FboSRGBUnsupportedEnumCase::isInvalidEnum (std::string functionName) log << tcu::TestLog::Message << "Checking call to " << functionName << tcu::TestLog::EndMessage; - std::ostringstream message; - gl.getError(); + error = gl.getError(); if (error != GL_INVALID_ENUM) { - message << functionName << " returned wrong value [" << glu::getErrorStr(error) << ", expected " << glu::getErrorStr(GL_INVALID_ENUM) << "]"; - log << tcu::TestLog::Message << message.str() << tcu::TestLog::EndMessage; + log << tcu::TestLog::Message << " returned wrong value [" << glu::getErrorStr(error) << ", expected " << glu::getErrorStr(GL_INVALID_ENUM) << "]" << tcu::TestLog::EndMessage; isOk = false; }