From 5fa43b5d71f1d06ae82ae2c0fac7091d6e58295c Mon Sep 17 00:00:00 2001 From: jojo61 Date: Fri, 4 Oct 2019 14:21:55 +0200 Subject: [PATCH] Fix Makefile and DEBUG Error --- Makefile | 2 +- video.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2460c5d..849c1fc 100644 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ ifeq ($(VAAPI),1) CONFIG += -DVAAPI #LIBPLACEBO=1 PLUGIN = softhdvaapi -LIBS += -lEGL -lEGL_mesa +LIBS += -lEGL endif ifeq ($(LIBPLACEBO),1) diff --git a/video.c b/video.c index 63f1996..080baac 100644 --- a/video.c +++ b/video.c @@ -886,12 +886,12 @@ static void GlxSetupWindow(xcb_window_t window, int width, int height, GLXContex static void GlxSetupWindow(xcb_window_t window, int width, int height, EGLContext context) #endif { -#ifdef DEBUG + uint32_t start; uint32_t end; int i; unsigned count; -#endif + #ifdef PLACEBO_ return;