Browse Source

Fix pugl namespace under macOS

Closes #34
pull/52/merge
falkTX 6 years ago
parent
commit
6de5fc3285
2 changed files with 2 additions and 3 deletions
  1. +2
    -0
      dgl/src/Window.cpp
  2. +0
    -3
      dgl/src/pugl/pugl_osx.m

+ 2
- 0
dgl/src/Window.cpp View File

@@ -33,6 +33,8 @@
#if defined(DISTRHO_OS_WINDOWS)
# include "pugl/pugl_win.cpp"
#elif defined(DISTRHO_OS_MAC)
# define PuglWindow DISTRHO_JOIN_MACRO(PuglWindow, DGL_NAMESPACE)
# define PuglOpenGLView DISTRHO_JOIN_MACRO(PuglOpenGLView, DGL_NAMESPACE)
# include "pugl/pugl_osx.m"
#else
# include <sys/types.h>


+ 0
- 3
dgl/src/pugl/pugl_osx.m View File

@@ -24,9 +24,6 @@

#include "pugl_internal.h"

#define PuglWindow PuglWindow ## DGL_NAMESPACE
#define PuglOpenGLView PuglOpenGLView ## DGL_NAMESPACE

@interface PuglWindow : NSWindow
{
@public


Loading…
Cancel
Save