OpenGLRenderer: remove opengl32 dependency on Linux
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#define NAZARA_OPENGLRENDERER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/DynLib.hpp>
|
||||
#include <Nazara/Renderer/RendererImpl.hpp>
|
||||
#include <Nazara/OpenGLRenderer/Config.hpp>
|
||||
#include <Nazara/OpenGLRenderer/OpenGLDevice.hpp>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#define NAZARA_OPENGLRENDERER_EGLLOADER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/DynLib.hpp>
|
||||
#include <Nazara/OpenGLRenderer/Config.hpp>
|
||||
#include <Nazara/OpenGLRenderer/Wrapper/Loader.hpp>
|
||||
#include <Nazara/OpenGLRenderer/Wrapper/EGL/EGLContextBase.hpp>
|
||||
@@ -20,7 +19,7 @@ namespace Nz::GL
|
||||
class NAZARA_OPENGLRENDERER_API EGLLoader : public Loader
|
||||
{
|
||||
public:
|
||||
EGLLoader(DynLib& openglLib);
|
||||
EGLLoader();
|
||||
~EGLLoader() = default;
|
||||
|
||||
std::unique_ptr<Context> CreateContext(const OpenGLDevice* device, const ContextParams& params, Context* shareContext) const override;
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Nz::GL
|
||||
class NAZARA_OPENGLRENDERER_API WGLLoader : public Loader
|
||||
{
|
||||
public:
|
||||
WGLLoader(DynLib& openglLib);
|
||||
WGLLoader();
|
||||
~WGLLoader() = default;
|
||||
|
||||
std::unique_ptr<Context> CreateContext(const OpenGLDevice* device, const ContextParams& params, Context* shareContext) const override;
|
||||
@@ -43,7 +43,7 @@ namespace Nz::GL
|
||||
|
||||
private:
|
||||
DynLib m_gdi32Lib;
|
||||
DynLib& m_opengl32Lib;
|
||||
DynLib m_opengl32Lib;
|
||||
WGLContext m_baseContext;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user