mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Fixed building with dispmanx only with no OpenGL/GLES. Corrected comment.
This commit is contained in:
parent
3929f66c83
commit
9b6d336983
@ -326,7 +326,7 @@ static bool dispmanx_setup_scale(void *data, unsigned width,
|
|||||||
dispmanx_free_main_resources(_dispvars);
|
dispmanx_free_main_resources(_dispvars);
|
||||||
vc_dispmanx_display_get_info(_dispvars->display, &(_dispvars->amode));
|
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)
|
switch (_dispvars->bytes_per_pixel)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -111,8 +111,9 @@ if [ "$HAVE_EXYNOS" != "no" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HAVE_DISPMANX" != "no" ]; then
|
if [ "$HAVE_DISPMANX" != "no" ]; then
|
||||||
DISPMANX_LIBS="-L/opt/vc/lib -lbcm_host -lvcos -lvchiq_arm"
|
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_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
|
fi
|
||||||
|
|
||||||
if [ "$LIBRETRO" ]; then
|
if [ "$LIBRETRO" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user