OpenGL: Rework contexts

This commit is contained in:
Lynix
2020-04-19 01:35:19 +02:00
parent 3b24d020e8
commit 0fa095e8f7
10 changed files with 93 additions and 137 deletions

View File

@@ -7,6 +7,15 @@
namespace Nz::GL
{
inline const ContextParams& Context::GetParams() const
{
return m_params;
}
inline bool Context::IsExtensionSupported(const std::string& extension) const
{
return m_supportedExtensions.find(extension) != m_supportedExtensions.end();
}
}
#include <Nazara/OpenGLRenderer/DebugOff.hpp>