shithub: cstory

Download patch

ref: 565c79a4ce4235baed5cf7d4f062b1f52237ed28
parent: adb09e19b7cbb4f2fc8c9766d96e0ebcd9cb5ee6
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jul 8 11:50:44 EDT 2020

Fix GLFW3 software renderer in VS2019

GLFW will include these headers for us properly

--- a/src/Backends/Rendering/Window/Software/GLFW3.cpp
+++ b/src/Backends/Rendering/Window/Software/GLFW3.cpp
@@ -3,11 +3,11 @@
 #include <stddef.h>
 #include <stdlib.h>
 
-#if defined(__APPLE__)
- #include <OpenGL/gl.h>
-#else
- #include <GL/gl.h>
-#endif
+//#if defined(__APPLE__)
+// #include <OpenGL/gl.h>
+//#else
+// #include <GL/gl.h>
+//#endif
 #include <GLFW/glfw3.h>
 
 #include "../../../Misc.h"