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:
parent
320e891a70
commit
0b6e90abd0
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define GLFW_INCLUDE_NONE
|
extern struct GLFWwindow *window;
|
||||||
#include <GLFW/glfw3.h>
|
|
||||||
|
|
||||||
extern GLFWwindow *window;
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue