diff --git a/dust3d.pro b/dust3d.pro index 5abd72e2..79b516ac 100644 --- a/dust3d.pro +++ b/dust3d.pro @@ -126,6 +126,7 @@ QMAKE_CXXFLAGS += -std=c++11 win32 { LIBS += -luser32 + LIBS += -lopengl32 isEmpty(BOOST_INCLUDEDIR) { BOOST_INCLUDEDIR = $$(BOOST_INCLUDEDIR) diff --git a/src/qtlightmapper.h b/src/qtlightmapper.h index fcd8bcac..7754b8f4 100644 --- a/src/qtlightmapper.h +++ b/src/qtlightmapper.h @@ -46,7 +46,7 @@ typedef int lm_type; typedef struct lm_context lm_context; -#include +#include typedef struct lm_vec3 { float x, y, z; } lm_vec3; @@ -71,7 +71,7 @@ typedef struct unsigned int vertexCount, indexCount; } scene_t; -class QtLightMapper : public QOpenGLFunctions +class QtLightMapper : public QOpenGLExtraFunctions { public: bool m_useCore = false;