Fix windows build
parent
078543b80e
commit
8a6a2a6640
|
@ -126,6 +126,7 @@ QMAKE_CXXFLAGS += -std=c++11
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
LIBS += -luser32
|
LIBS += -luser32
|
||||||
|
LIBS += -lopengl32
|
||||||
|
|
||||||
isEmpty(BOOST_INCLUDEDIR) {
|
isEmpty(BOOST_INCLUDEDIR) {
|
||||||
BOOST_INCLUDEDIR = $$(BOOST_INCLUDEDIR)
|
BOOST_INCLUDEDIR = $$(BOOST_INCLUDEDIR)
|
||||||
|
|
|
@ -46,7 +46,7 @@ typedef int lm_type;
|
||||||
|
|
||||||
typedef struct lm_context lm_context;
|
typedef struct lm_context lm_context;
|
||||||
|
|
||||||
#include <QOpenGLFunctions>
|
#include <QOpenGLExtraFunctions>
|
||||||
|
|
||||||
typedef struct lm_vec3 { float x, y, z; } lm_vec3;
|
typedef struct lm_vec3 { float x, y, z; } lm_vec3;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ typedef struct
|
||||||
unsigned int vertexCount, indexCount;
|
unsigned int vertexCount, indexCount;
|
||||||
} scene_t;
|
} scene_t;
|
||||||
|
|
||||||
class QtLightMapper : public QOpenGLFunctions
|
class QtLightMapper : public QOpenGLExtraFunctions
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bool m_useCore = false;
|
bool m_useCore = false;
|
||||||
|
|
Loading…
Reference in New Issue