From 6d2fd8ae3746ad71da30997612ad23ff43a441aa Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 13 Dec 2015 11:35:55 -0600 Subject: [PATCH] [GLExtensions] Support ORing of extensions when checking for support. Makes my life easier. --- Source/Core/Common/GL/GLExtensions/GLExtensions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp b/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp index 8831032df6..ea1cfedd15 100644 --- a/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp +++ b/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp @@ -2056,6 +2056,8 @@ namespace GLExtensions { if (tmp[0] == '!') result &= !m_extension_list[tmp.erase(0, 1)]; + else if (tmp[0] == '|') + result |= m_extension_list[tmp.erase(0, 1)]; else result &= m_extension_list[tmp]; }