ref: 0b6e90abd0bd6aad6910d881c0ff64892e0e31dc
parent: 320e891a705cd4c977595a74f5b192554a09e4ab
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Apr 18 21:37:49 EDT 2020
Work-around some global namespace polution With GLFW, you're supposed to `#include` your extension loader before it, but this header made that extremely awkward. The previous "fix" would cause build errors on Windows when compiling the software renderer.
--- a/src/Backends/GLFW3/Window.h
+++ b/src/Backends/GLFW3/Window.h
@@ -1,6 +1,3 @@
#pragma once
-#define GLFW_INCLUDE_NONE
-#include <GLFW/glfw3.h>
-
-extern GLFWwindow *window;
+extern struct GLFWwindow *window;