From 994356fdd58f6156d5d9ca1f7b7be77ecb870a60 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 19 Jul 2023 15:36:41 +0200 Subject: [PATCH] use GLESv2 instead of GL --- recipes-core/images/core-image-minimal.bbappend | 1 - recipes-example/example/example_0.1.bb | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-core/images/core-image-minimal.bbappend b/recipes-core/images/core-image-minimal.bbappend index dc33fd0..9f5f713 100644 --- a/recipes-core/images/core-image-minimal.bbappend +++ b/recipes-core/images/core-image-minimal.bbappend @@ -20,7 +20,6 @@ IMAGE_INSTALL:append = "libcurl \ libgles2 \ libegl-mesa \ libgl-mesa \ - mesa-gl \ libglapi \ libudev \ udev \ diff --git a/recipes-example/example/example_0.1.bb b/recipes-example/example/example_0.1.bb index e89cfed..0357d5a 100644 --- a/recipes-example/example/example_0.1.bb +++ b/recipes-example/example/example_0.1.bb @@ -12,8 +12,8 @@ TARGET_CC_ARCH += "${LDFLAGS}" do_compile() { ${CXX} ${WORKDIR}/sdl_test.cpp `pkg-config --cflags --libs sdl2` -o ${WORKDIR}/sdl_test - ${CC} ${WORKDIR}/sdlgl.c `pkg-config --cflags --libs sdl2` -lGL -o ${WORKDIR}/sdlgl - ${CC} ${WORKDIR}/sdlglshader.c `pkg-config --cflags --libs sdl2` -lGL -o ${WORKDIR}/sdlglshader + ${CC} ${WORKDIR}/sdlgl.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlgl + ${CC} ${WORKDIR}/sdlglshader.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlglshader } do_install() {