Fix empty expr in NotSupportedError thrown by gluTexture
authorPyry Haulos <phaulos@google.com>
Thu, 21 Jan 2016 00:22:01 +0000 (16:22 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 21 Jan 2016 00:22:01 +0000 (16:22 -0800)
Change-Id: I44cdc31ed48f16b8843b37d286ff14619cacfeda

framework/opengl/gluTexture.cpp

index d81bda1..bf6fdbc 100644 (file)
@@ -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");