diff --git a/gfx/drivers/dispmanx_gfx.c b/gfx/drivers/dispmanx_gfx.c index e109668ba1..52868b1767 100644 --- a/gfx/drivers/dispmanx_gfx.c +++ b/gfx/drivers/dispmanx_gfx.c @@ -326,7 +326,7 @@ static bool dispmanx_setup_scale(void *data, unsigned width, dispmanx_free_main_resources(_dispvars); vc_dispmanx_display_get_info(_dispvars->display, &(_dispvars->amode)); - // We choose the pixel format depending on the bpp of the frame. + /* We choose the pixel format depending on the bpp of the frame. */ switch (_dispvars->bytes_per_pixel) { case 2: diff --git a/qb/config.libs.sh b/qb/config.libs.sh index f55255f6bd..af304ed8c2 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -111,8 +111,9 @@ if [ "$HAVE_EXYNOS" != "no" ]; then fi if [ "$HAVE_DISPMANX" != "no" ]; then - DISPMANX_LIBS="-L/opt/vc/lib -lbcm_host -lvcos -lvchiq_arm" - DISPMANX_INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux/ -I/opt/vc/include/interface/vcos/pthreads" + DISPMANX_LIBS="-L/opt/vc/lib -lbcm_host -lvcos -lvchiq_arm" + DISPMANX_INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux/ -I/opt/vc/include/interface/vcos/pthreads" + PKG_CONF_USED="$PKG_CONF_USED DISPMANX" fi if [ "$LIBRETRO" ]; then