From: Mika Isojärvi Date: Wed, 16 Mar 2016 22:05:08 +0000 (-0700) Subject: Fix geometry point size extension check X-Git-Tag: upstream/0.1.0~438^2~359^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e015688076065fce255e59fe653293444b34f42b;p=platform%2Fupstream%2FVK-GL-CTS.git Fix geometry point size extension check Bug: 27701866 Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057 --- 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)