From e015688076065fce255e59fe653293444b34f42b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Wed, 16 Mar 2016 15:05:08 -0700 Subject: [PATCH] Fix geometry point size extension check Bug: 27701866 Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057 --- modules/gles31/functional/es31fGeometryShaderTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gles31/functional/es31fGeometryShaderTests.cpp b/modules/gles31/functional/es31fGeometryShaderTests.cpp index a1b2503..3926a8e 100644 --- a/modules/gles31/functional/es31fGeometryShaderTests.cpp +++ b/modules/gles31/functional/es31fGeometryShaderTests.cpp @@ -2600,8 +2600,8 @@ void BuiltinVariableRenderTest::init (void) tcu::Vec2 range = tcu::Vec2(1.0f, 1.0f); - if (m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_point_size")) - TCU_THROW(NotSupportedError, "Tests require GL_EXT_geometry_shader extension."); + if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_point_size")) + TCU_THROW(NotSupportedError, "Tests require GL_EXT_geometry_point_size extension."); m_context.getRenderContext().getFunctions().getFloatv(GL_ALIASED_POINT_SIZE_RANGE, range.getPtr()); if (range.y() < requiredPointSize) -- 2.7.4