summarylogtreecommitdiffstats
path: root/3e28a8f152594a5bf0e55c9f17bfcab483d64ab1.patch
blob: b46f1a58c287f69a93582406ebf0b7ae5df1fe21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
From 3e28a8f152594a5bf0e55c9f17bfcab483d64ab1 Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak <dos@dosowisko.net>
Date: Wed, 10 Apr 2019 22:06:04 +0200
Subject: [PATCH] Fix compilation errors with recent glew/mesa combos

---
 GTK_Dev_Kit/FloorMakerMain.cpp         | 5 +----
 GTK_Dev_Kit/SludgeFloorMaker.cpp       | 5 +----
 GTK_Dev_Kit/SludgeGLApplication.cpp    | 5 +----
 GTK_Dev_Kit/SludgeSpriteBankEditor.cpp | 5 +----
 GTK_Dev_Kit/SludgeZBufferMaker.cpp     | 5 +----
 GTK_Dev_Kit/SpriteBankEditorMain.cpp   | 5 +----
 GTK_Dev_Kit/ZBufferMakerMain.cpp       | 5 +----
 7 files changed, 7 insertions(+), 28 deletions(-)

diff --git a/GTK_Dev_Kit/FloorMakerMain.cpp b/GTK_Dev_Kit/FloorMakerMain.cpp
index d215d6d..7fb9eee 100644
--- a/GTK_Dev_Kit/FloorMakerMain.cpp
+++ b/GTK_Dev_Kit/FloorMakerMain.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/SludgeFloorMaker.cpp b/GTK_Dev_Kit/SludgeFloorMaker.cpp
index ffbd631..94a97d2 100644
--- a/GTK_Dev_Kit/SludgeFloorMaker.cpp
+++ b/GTK_Dev_Kit/SludgeFloorMaker.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/SludgeGLApplication.cpp b/GTK_Dev_Kit/SludgeGLApplication.cpp
index c7027e5..8e53a38 100644
--- a/GTK_Dev_Kit/SludgeGLApplication.cpp
+++ b/GTK_Dev_Kit/SludgeGLApplication.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/SludgeSpriteBankEditor.cpp b/GTK_Dev_Kit/SludgeSpriteBankEditor.cpp
index 6792574..c1b2e37 100644
--- a/GTK_Dev_Kit/SludgeSpriteBankEditor.cpp
+++ b/GTK_Dev_Kit/SludgeSpriteBankEditor.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/SludgeZBufferMaker.cpp b/GTK_Dev_Kit/SludgeZBufferMaker.cpp
index b714d66..da95a3a 100644
--- a/GTK_Dev_Kit/SludgeZBufferMaker.cpp
+++ b/GTK_Dev_Kit/SludgeZBufferMaker.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/SpriteBankEditorMain.cpp b/GTK_Dev_Kit/SpriteBankEditorMain.cpp
index 63ce76b..7882f0a 100644
--- a/GTK_Dev_Kit/SpriteBankEditorMain.cpp
+++ b/GTK_Dev_Kit/SpriteBankEditorMain.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>
diff --git a/GTK_Dev_Kit/ZBufferMakerMain.cpp b/GTK_Dev_Kit/ZBufferMakerMain.cpp
index 69a6c16..62fa7b6 100644
--- a/GTK_Dev_Kit/ZBufferMakerMain.cpp
+++ b/GTK_Dev_Kit/ZBufferMakerMain.cpp
@@ -25,11 +25,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
-#include <GL/glew.h>
 #define GL_GLEXT_PROTOTYPES
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include <errno.h>
 #include <sys/types.h>