From: Pyry Haulos Date: Thu, 21 Jan 2016 00:22:01 +0000 (-0800) Subject: Fix empty expr in NotSupportedError thrown by gluTexture X-Git-Tag: upstream/0.1.0~1097 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=246a880f1d59f8f5dcf4b68aec8226d8b2f87320;p=platform%2Fupstream%2FVK-GL-CTS.git Fix empty expr in NotSupportedError thrown by gluTexture Change-Id: I44cdc31ed48f16b8843b37d286ff14619cacfeda --- diff --git a/framework/opengl/gluTexture.cpp b/framework/opengl/gluTexture.cpp index d81bda1..bf6fdbc 100644 --- a/framework/opengl/gluTexture.cpp +++ b/framework/opengl/gluTexture.cpp @@ -136,7 +136,7 @@ Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextIn const glw::Functions& gl = context.getFunctions(); if (!contextInfo.isCompressedTextureFormatSupported(m_format)) - throw tcu::NotSupportedError("Compressed texture format not supported", "", __FILE__, __LINE__); + TCU_THROW(NotSupportedError, "Compressed texture format not supported"); gl.genTextures(1, &m_glTexture); GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures() failed");