From e485f7d62866614a8d99a155e67ff11a9561b426 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 23 Jun 2017 19:42:58 -0700 Subject: [PATCH] Fix glad in windows; --- CMakeLists.txt | 1 + src/lib/glfw.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71ab6305..3ff915b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,6 +214,7 @@ set(LOVR_SRC src/graphics/skybox.c src/graphics/texture.c src/headset/headset.c + src/lib/glad/glad.c src/lib/lua-cjson/fpconv.c src/lib/lua-cjson/lua_cjson.c src/lib/lua-cjson/strbuf.c diff --git a/src/lib/glfw.h b/src/lib/glfw.h index a72ad799..dee83c67 100644 --- a/src/lib/glfw.h +++ b/src/lib/glfw.h @@ -6,7 +6,7 @@ #define GLFW_INCLUDE_GLCOREARB #elif _WIN32 #define APIENTRY __stdcall -#include "src/lib/glad.h" +#include "glad/glad.h" #endif #include