1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00

use GLESv2 instead of GL

This commit is contained in:
DanyLE 2023-07-19 15:36:41 +02:00
parent 78ce3ff602
commit 994356fdd5
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@ IMAGE_INSTALL:append = "libcurl \
libgles2 \
libegl-mesa \
libgl-mesa \
mesa-gl \
libglapi \
libudev \
udev \

View File

@ -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() {