mirror of https://github.com/bjornbytes/lovr.git
Fix glad in windows;
This commit is contained in:
parent
e5a311af09
commit
e485f7d628
|
@ -214,6 +214,7 @@ set(LOVR_SRC
|
||||||
src/graphics/skybox.c
|
src/graphics/skybox.c
|
||||||
src/graphics/texture.c
|
src/graphics/texture.c
|
||||||
src/headset/headset.c
|
src/headset/headset.c
|
||||||
|
src/lib/glad/glad.c
|
||||||
src/lib/lua-cjson/fpconv.c
|
src/lib/lua-cjson/fpconv.c
|
||||||
src/lib/lua-cjson/lua_cjson.c
|
src/lib/lua-cjson/lua_cjson.c
|
||||||
src/lib/lua-cjson/strbuf.c
|
src/lib/lua-cjson/strbuf.c
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#define GLFW_INCLUDE_GLCOREARB
|
#define GLFW_INCLUDE_GLCOREARB
|
||||||
#elif _WIN32
|
#elif _WIN32
|
||||||
#define APIENTRY __stdcall
|
#define APIENTRY __stdcall
|
||||||
#include "src/lib/glad.h"
|
#include "glad/glad.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|
Loading…
Reference in New Issue