shithub: cstory

Download patch

ref: 3c691732a61d4085ba88e00e30aee4b23355951d
parent: dac8f704cd3511b2ce2535e33384dcb9a51367d7
author: Clownacy <[email protected]>
date: Fri Apr 3 13:09:14 EDT 2020

Update glad #include paths

--- a/src/Backends/GLFW3/Window-OpenGL3.cpp
+++ b/src/Backends/GLFW3/Window-OpenGL3.cpp
@@ -6,7 +6,7 @@
 #ifdef USE_OPENGLES2
 #include <GLES2/gl2.h>
 #else
-#include "../../../external/glad/include/glad/glad.h"
+#include <glad/glad.h>
 #endif
 #include <GLFW/glfw3.h>
 
--- a/src/Backends/SDL2/Window-OpenGL3.cpp
+++ b/src/Backends/SDL2/Window-OpenGL3.cpp
@@ -5,7 +5,7 @@
 #ifdef USE_OPENGLES2
 #include <GLES2/gl2.h>
 #else
-#include "../../../external/glad/include/glad/glad.h"
+#include <glad/glad.h>
 #endif
 #include "SDL.h"