From 13158e4bc3bd225210f9b04ca0de129be7107051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 19 Nov 2013 17:28:34 +0100 Subject: Fix build on iOS Icccd542b8122c7bfa0e83 and Ia6e9f06dbb850 clashed. Change-Id: Iaea844c9955eb29104ee32660499a67cb7224cbf Reviewed-by: Sean Harmer --- src/quick/scenegraph/util/qsgtexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/scenegraph/util/qsgtexture.cpp') diff --git a/src/quick/scenegraph/util/qsgtexture.cpp b/src/quick/scenegraph/util/qsgtexture.cpp index abf3002803..51b3bafaf7 100644 --- a/src/quick/scenegraph/util/qsgtexture.cpp +++ b/src/quick/scenegraph/util/qsgtexture.cpp @@ -693,7 +693,7 @@ void QSGPlainTexture::bind() externalFormat = GL_BGRA; internalFormat = GL_BGRA; #ifdef Q_OS_IOS - } else if (strstr(extensions, "GL_APPLE_texture_format_BGRA8888")) { + } else if (context->hasExtension(QByteArrayLiteral("GL_APPLE_texture_format_BGRA8888"))) { externalFormat = GL_BGRA; internalFormat = GL_RGBA; #endif -- cgit v1.2.3