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;