summarylogtreecommitdiffstats
path: root/opengl.patch
blob: ce997409df3c1030a79c359acf73603ffdf587c6 (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
--- a/include/IL/ilut_config.h	2017-06-02 09:55:51.057995171 +0200
+++ b/include/IL/ilut_config.h	2017-06-02 09:56:03.494411426 +0200
@@ -16,11 +16,11 @@
 //
 #undef ILUT_USE_ALLEGRO
 
-#undef ILUT_USE_DIRECTX8
+//#undef ILUT_USE_DIRECTX8
 //#define ILUT_USE_DIRECTX9
 //#define ILUT_USE_DIRECTX10
 #define ILUT_USE_OPENGL
 //#define ILUT_USE_SDL
-#define ILUT_USE_WIN32
+//#define ILUT_USE_WIN32
 
 #endif//__ILUT_CONFIG_H__
--- a/include/IL/ilut.h	2017-06-02 09:54:48.259185625 +0200
+++ b/include/IL/ilut.h	2017-06-02 09:54:55.892381093 +0200
@@ -96,10 +96,10 @@
 			#pragma comment(lib, "ILUT.lib")
 		#endif
 	#endif
-
-	#include <IL/ilut_config.h>
 #endif
 
+#include <IL/ilut_config.h>
+
 
 
  
--- a/src-ILUT/pkgconfig/ILUT.pc.cmake.in	2017-06-02 10:09:04.646074566 +0200
+++ b/src-ILUT/pkgconfig/ILUT.pc.cmake.in	2017-06-02 10:09:19.438930975 +0200
@@ -10,5 +10,5 @@ URL: http://openil.sourceforge.net
 Requires: IL ILU
 Cflags: -I${includedir}
-Libs: -L${libdir} -lILUT
+Libs: -L${libdir} -lILUT -lGL -lGLU
 Libs.private: -lIL -lILU