Debian Codegraph @

xbmc/windowing/X11/GLContext.cpp

raw
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9 #include "GLContext.h"
10
11 bool CGLContext::IsExtSupported(const char* extension) const
12 {
13 std::string name;
14
15 name = " ";
16 name += extension;
17 name += " ";
18
19 return m_extensions.find(name) != std::string::npos;
20 }