diff options
author | louis <louis.braun@gmx.de> | 2013-02-07 11:08:39 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-02-07 11:08:39 +0100 |
commit | d862138436790a2aed65e0a86b2493a4b89d2fe1 (patch) | |
tree | 7b0ca901313d5dbdd7e4bf8e76f0503bd77ebb51 | |
parent | 0e0311a70f6ab00ed19edfb557e4b27a3e9938dc (diff) | |
download | skin-nopacity-d862138436790a2aed65e0a86b2493a4b89d2fe1.tar.gz skin-nopacity-d862138436790a2aed65e0a86b2493a4b89d2fe1.tar.bz2 |
Changed Makefile to avoid warnings with newer ImageMagick versions
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | displayreplay.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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); |