Merge pull request #26312 from garbear/update-controllers
[xbmc.git] / xbmc / windowing / X11 / GLContext.cpp
blob3dac508217a6e3a91325c6444a6607f34ce38a1e
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #include "GLContext.h"
11 bool CGLContext::IsExtSupported(const char* extension) const
13 std::string name;
15 name = " ";
16 name += extension;
17 name += " ";
19 return m_extensions.find(name) != std::string::npos;