OpenGLRenderer: remove opengl32 dependency on Linux

This commit is contained in:
Jérôme Leclercq
2020-09-01 19:28:10 +02:00
parent e6c2302927
commit c7b0d103e1
7 changed files with 11 additions and 17 deletions

View File

@@ -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;