From 246a880f1d59f8f5dcf4b68aec8226d8b2f87320 Mon Sep 17 00:00:00 2001 From: Pyry Haulos Date: Wed, 20 Jan 2016 16:22:01 -0800 Subject: [PATCH] Fix empty expr in NotSupportedError thrown by gluTexture Change-Id: I44cdc31ed48f16b8843b37d286ff14619cacfeda --- framework/opengl/gluTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.7.4