void-packages/srcpkgs/assimp/patches/0001-glext_h_conflict.patch
2017-08-21 09:47:57 +02:00

14 lines
403 B
Diff

--- 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 @@
/// \author smal.root@gmail.com
/// \date 2016
+#if !defined(__x86_64__) && !defined(__i386__)
+// Avoid conflict for types GLsizeiptr and GLintptr
+#define GL_VERSION_1_5
+
+#endif
#include "glview.hpp"
// Header files, OpenGL.