Browse Source

Fix compiler warnings, fixup for updated pugl

Signed-off-by: falkTX <falktx@falktx.com>
pull/1805/head
falkTX 1 year ago
parent
commit
3a7d78c165
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      source/Makefile.deps.mk
  2. +4
    -0
      source/backend/plugin/CarlaPluginVST3.cpp

+ 1
- 1
source/Makefile.deps.mk View File

@@ -455,7 +455,7 @@ ifneq ($(USE_GLES2)$(USE_GLES3),true)
DGL_LIBS = -sLEGACY_GL_EMULATION -sGL_UNSAFE_OPTS=0
endif
else ifeq ($(WINDOWS),true)
DGL_LIBS = -lopengl32 -lgdi32
DGL_LIBS = -lcomdlg32 -ldwmapi -lopengl32 -lgdi32
else
DGL_FLAGS += -DHAVE_X11 -DHAVE_XCURSOR -DHAVE_XEXT -DHAVE_XSYNC -DHAVE_XRANDR
DGL_FLAGS += $(shell $(PKG_CONFIG) --cflags gl x11 xcursor xext xrandr)


+ 4
- 0
source/backend/plugin/CarlaPluginVST3.cpp View File

@@ -1017,6 +1017,8 @@ private:
return loop->posixfds.append(posixfd) ? V3_OK : V3_NOMEM;
#else
return V3_NOT_IMPLEMENTED;
// unused
(void)self; (void)handler; (void)fd;
#endif
}

@@ -1043,6 +1045,8 @@ private:
return V3_INVALID_ARG;
#else
return V3_NOT_IMPLEMENTED;
// unused
(void)self; (void)handler;
#endif
}



Loading…
Cancel
Save