summaryrefslogtreecommitdiff
path: root/dgl/src/pugl
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2018-01-01 12:43:22 +0100
committerfalkTX <falktx@gmail.com>2018-01-01 12:43:22 +0100
commitc8d968a230e509c3b886e4482c17de8e4f466f35 (patch)
treeaca792b8ff01e5013f550994b943986d75d769cb /dgl/src/pugl
parent0393d1e42956ea707488be47f82d65c6cbd20a4d (diff)
Fix build with custom DGL namespace, use it for OSX class names
Diffstat (limited to 'dgl/src/pugl')
-rw-r--r--dgl/src/pugl/pugl_osx.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgl/src/pugl/pugl_osx.m b/dgl/src/pugl/pugl_osx.m
index 82985fbe..b4d64be2 100644
--- a/dgl/src/pugl/pugl_osx.m
+++ b/dgl/src/pugl/pugl_osx.m
@@ -24,6 +24,9 @@
#include "pugl_internal.h"
+#define PuglWindow PuglWindow ## DGL_NAMESPACE
+#define PuglOpenGLView PuglOpenGLView ## DGL_NAMESPACE
+
@interface PuglWindow : NSWindow
{
@public