// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - OpenGL Renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include namespace Nz::GL { inline ExtensionStatus Context::GetExtensionStatus(Extension extension) const { return m_extensionStatus[UnderlyingCast(extension)]; } inline const ContextParams& Context::GetParams() const { return m_params; } inline bool Context::IsExtensionSupported(Extension extension) const { return GetExtensionStatus(extension) != ExtensionStatus::NotSupported; } inline bool Context::IsExtensionSupported(const std::string& extension) const { return m_supportedExtensions.find(extension) != m_supportedExtensions.end(); } } #include