projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888059d
)
Fix empty expr in NotSupportedError thrown by gluTexture
author
Pyry Haulos
<phaulos@google.com>
Thu, 21 Jan 2016 00:22:01 +0000
(16:22 -0800)
committer
Pyry Haulos
<phaulos@google.com>
Thu, 21 Jan 2016 00:22:01 +0000
(16:22 -0800)
Change-Id: I44cdc31ed48f16b8843b37d286ff14619cacfeda
framework/opengl/gluTexture.cpp
patch
|
blob
|
history
diff --git
a/framework/opengl/gluTexture.cpp
b/framework/opengl/gluTexture.cpp
index
d81bda1
..
bf6fdbc
100644
(file)
--- 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");