summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-07 11:08:39 +0100
committerlouis <louis.braun@gmx.de>2013-02-07 11:08:39 +0100
commitd862138436790a2aed65e0a86b2493a4b89d2fe1 (patch)
tree7b0ca901313d5dbdd7e4bf8e76f0503bd77ebb51
parent0e0311a70f6ab00ed19edfb557e4b27a3e9938dc (diff)
downloadskin-nopacity-d862138436790a2aed65e0a86b2493a4b89d2fe1.tar.gz
skin-nopacity-d862138436790a2aed65e0a86b2493a4b89d2fe1.tar.bz2
Changed Makefile to avoid warnings with newer ImageMagick versions
-rw-r--r--Makefile4
-rw-r--r--displayreplay.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ff1ef0e..e2c14ad 100644
--- a/Makefile
+++ b/Makefile
@@ -51,12 +51,14 @@ SOFILE = libvdr-$(PLUGIN).so
INCLUDES += $(shell pkg-config --cflags-only-I Magick++)
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -DMAGICKCORE_HDRI_ENABLE=0
+DEFINES += -DMAGICKCORE_QUANTUM_DEPTH=16
LIBS += $(shell pkg-config --libs Magick++)
### The object files (add further files here):
-OBJS = $(PLUGIN).o
+OBJS = $(PLUGIN).o
### The main target:
diff --git a/displayreplay.c b/displayreplay.c
index 86e1694..cb353db 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -98,8 +98,6 @@ void cNopacityDisplayReplay::CreatePixmaps(void) {
pixmapFwd = osd->CreatePixmap(4, cRect((width - 4 * backgroundWidth)/2 + 3*(iconSize + 2*iconBorder) + iconBorder, controlY + iconBorder, iconSize, iconSize));
pixmapFwdSpeed = osd->CreatePixmap(5, cRect((width - 4 * backgroundWidth)/2 + 3*(iconSize + 2*iconBorder) + iconBorder, controlY + iconBorder, iconSize, iconSize));
- //LoadControlIcons();
-
if (config.replayFadeTime) {
if (!modeOnly) {
pixmapHeader->SetAlpha(0);