23 lines
659 B
C++
23 lines
659 B
C++
// 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 <Nazara/OpenGLRenderer/Wrapper/Win32/WGLContext.hpp>
|
|
#include <Nazara/OpenGLRenderer/Debug.hpp>
|
|
|
|
namespace Nz::GL
|
|
{
|
|
inline GL::WGLContext::WGLContext(const OpenGLDevice* device, const WGLLoader& loader) :
|
|
Context(device),
|
|
m_loader(loader)
|
|
{
|
|
}
|
|
|
|
inline bool WGLContext::HasPlatformExtension(const std::string& str) const
|
|
{
|
|
return m_supportedPlatformExtensions.find(str) != m_supportedPlatformExtensions.end();
|
|
}
|
|
}
|
|
|
|
#include <Nazara/OpenGLRenderer/DebugOff.hpp>
|