void-packages/srcpkgs/assimp/patches/0001-glext_h_conflict.patch

15 lines
403 B
Diff
Raw Normal View History

2017-08-05 07:50:59 +00:00
--- tools/assimp_qt_viewer/glview.cpp 2017-07-28 22:33:41.000000000 +0200
+++ tools/assimp_qt_viewer/glview.cpp 2017-08-05 09:47:00.697027943 +0200
@@ -3,6 +3,11 @@
2017-08-05 07:50:59 +00:00
/// \author smal.root@gmail.com
/// \date 2016
+#if !defined(__x86_64__) && !defined(__i386__)
2017-08-05 07:50:59 +00:00
+// Avoid conflict for types GLsizeiptr and GLintptr
+#define GL_VERSION_1_5
+
+#endif
2017-08-05 07:50:59 +00:00
#include "glview.hpp"
// Header files, OpenGL.