void-packages/srcpkgs/assimp/patches/0001-glext_h_conflict.patch
2017-08-05 09:51:31 +02:00

12 lines
347 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,9 @@
/// \author smal.root@gmail.com
/// \date 2016
+// Avoid conflict for types GLsizeiptr and GLintptr
+#define GL_VERSION_1_5
+
#include "glview.hpp"
// Header files, OpenGL.