mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 21:50:55 +02:00
Compare commits
2 Commits
78ce3ff602
...
e07da1a7c0
Author | SHA1 | Date | |
---|---|---|---|
e07da1a7c0 | |||
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() {
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <assert.h>
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GLES/gl.h>
|
||||
|
||||
typedef int32_t i32;
|
||||
typedef uint32_t u32;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <assert.h>
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GLES/gl.h>
|
||||
|
||||
typedef int32_t i32;
|
||||
typedef uint32_t u32;
|
||||
|
Reference in New Issue
Block a user