From b400fb7766cecffb9bf56f9189f079fa5d88f53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Jan 2013 23:53:10 +0100 Subject: [PATCH] ES 2.0 extension list is equivalent to GL 2.1 extension list -- empty. We assert that minimal OpenGL version is GL 2.1 / ES 2.0, thus there is no need for list of extensions implemented in these versions. --- src/Context.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index e7a74a533..dd1771115 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -195,7 +195,6 @@ const std::vector& Extension::extensions(Version version) { #undef _extension #else static const std::vector extensions; - static const std::vector extensionsES200; static const std::vector extensionsES300; #endif @@ -214,7 +213,7 @@ const std::vector& Extension::extensions(Version version) { /* case Version::GLES300: */ case Version::GL430: return extensions430; #else - case Version::GLES200: return extensionsES200; + case Version::GLES200: return empty; case Version::GLES300: return extensionsES300; #endif }