From 66c28c850d5d105227de7d9c44d237b0e08f27b3 Mon Sep 17 00:00:00 2001 From: Matheus Date: Wed, 21 Aug 2024 23:40:16 -0300 Subject: [PATCH] sdl2: enable opengl --- recipes/sdl2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/sdl2 b/recipes/sdl2 index 59d995af..0e4c5e3c 100644 --- a/recipes/sdl2 +++ b/recipes/sdl2 @@ -3,7 +3,7 @@ revision=1 from_source=sdl2 imagedeps="meson ninja base-devel" hostdeps="xgcc xbinutils pkgconfig cmake libstdc++-v3" -deps="mlibc libx11 libxext libxcursor libxinerama libxi libxfixes libxrandr libxrender libxxf86vm" +deps="mlibc libx11 libxext libxcursor libxinerama libxi libxfixes libxrandr libxrender libxxf86vm mesa" build() { cmake \ @@ -14,8 +14,8 @@ build() { -DSDL_ALTIVEC=OFF \ -DSDL_DISKAUDIO=OFF \ -DSDL_DIRECTFB=ON \ - -DSDL_OPENGL=OFF \ - -DSDL_OPENGLES=OFF \ + -DSDL_OPENGL=ON \ + -DSDL_OPENGLES=ON \ -DSDL_PTHREADS=ON \ -DSDL_PTHREADS_SEM=OFF \ -DSDL_OSS=OFF \