parent
28dde0c625
commit
c5d080d4b2
@ -0,0 +1,21 @@
|
||||
diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp
|
||||
--- love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp 2019-03-14 12:46:55.032982224 -0400
|
||||
+++ love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp 2019-03-14 12:47:22.356175299 -0400
|
||||
@@ -1,3 +1,5 @@
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
+
|
||||
#include "Framebuffer.h"
|
||||
#include <common/Matrix.h>
|
||||
|
||||
diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp
|
||||
--- love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp 2019-03-14 12:46:55.032982224 -0400
|
||||
+++ love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp 2019-03-14 12:47:33.346119890 -0400
|
||||
@@ -18,6 +18,8 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
+
|
||||
#include "SpriteBatch.h"
|
||||
|
||||
// STD
|
@ -0,0 +1,61 @@
|
||||
diff --git a/src/modules/graphics/opengl/Canvas.cpp b/src/modules/graphics/opengl/Canvas.cpp
|
||||
index a24dd96..3bd8fb6 100644
|
||||
--- a/src/modules/graphics/opengl/Canvas.cpp
|
||||
+++ b/src/modules/graphics/opengl/Canvas.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "Canvas.h"
|
||||
#include "Graphics.h"
|
||||
#include <common/Matrix.h>
|
||||
diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp
|
||||
index 922d195..68c464b 100644
|
||||
--- a/src/modules/graphics/opengl/Graphics.cpp
|
||||
+++ b/src/modules/graphics/opengl/Graphics.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <common/math.h>
|
||||
#include <common/Vector.h>
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "Graphics.h"
|
||||
#include <window/sdl/Window.h>
|
||||
|
||||
diff --git a/src/modules/graphics/opengl/PixelEffect.cpp b/src/modules/graphics/opengl/PixelEffect.cpp
|
||||
index 5ee6db9..bd988ea 100644
|
||||
--- a/src/modules/graphics/opengl/PixelEffect.cpp
|
||||
+++ b/src/modules/graphics/opengl/PixelEffect.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
* misrepresented as being the original software.
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
|
||||
#include "PixelEffect.h"
|
||||
#include "GLee.h"
|
||||
diff --git a/src/modules/graphics/opengl/SpriteBatch.cpp b/src/modules/graphics/opengl/SpriteBatch.cpp
|
||||
index c645b91..5066886 100644
|
||||
--- a/src/modules/graphics/opengl/SpriteBatch.cpp
|
||||
+++ b/src/modules/graphics/opengl/SpriteBatch.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "SpriteBatch.h"
|
||||
|
||||
// STD
|
||||
diff --git a/src/modules/graphics/opengl/VertexBuffer.cpp b/src/modules/graphics/opengl/VertexBuffer.cpp
|
||||
index 98b7427..fa9e1d5 100644
|
||||
--- a/src/modules/graphics/opengl/VertexBuffer.cpp
|
||||
+++ b/src/modules/graphics/opengl/VertexBuffer.cpp
|
||||
@@ -17,7 +17,7 @@
|
||||
* misrepresented as being the original software.
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
-
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "VertexBuffer.h"
|
||||
|
||||
#include "common/Exception.h"
|
Loading…
Reference in new issue