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:
parent
78ce3ff602
commit
994356fdd5
@ -20,7 +20,6 @@ IMAGE_INSTALL:append = "libcurl \
|
||||
libgles2 \
|
||||
libegl-mesa \
|
||||
libgl-mesa \
|
||||
mesa-gl \
|
||||
libglapi \
|
||||
libudev \
|
||||
udev \
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user