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.
This commit is contained in:
Clownacy 2020-04-19 01:37:49 +01:00
parent 320e891a70
commit 0b6e90abd0

View file

@ -1,6 +1,3 @@
#pragma once #pragma once
#define GLFW_INCLUDE_NONE extern struct GLFWwindow *window;
#include <GLFW/glfw3.h>
extern GLFWwindow *window;