mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-02 14:11:19 +02:00
Compare commits
2 Commits
78ce3ff602
...
e07da1a7c0
Author | SHA1 | Date | |
---|---|---|---|
e07da1a7c0 | |||
994356fdd5 |
@ -20,7 +20,6 @@ IMAGE_INSTALL:append = "libcurl \
|
|||||||
libgles2 \
|
libgles2 \
|
||||||
libegl-mesa \
|
libegl-mesa \
|
||||||
libgl-mesa \
|
libgl-mesa \
|
||||||
mesa-gl \
|
|
||||||
libglapi \
|
libglapi \
|
||||||
libudev \
|
libudev \
|
||||||
udev \
|
udev \
|
||||||
|
@ -12,8 +12,8 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
|||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
${CXX} ${WORKDIR}/sdl_test.cpp `pkg-config --cflags --libs sdl2` -o ${WORKDIR}/sdl_test
|
${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}/sdlgl.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlgl
|
||||||
${CC} ${WORKDIR}/sdlglshader.c `pkg-config --cflags --libs sdl2` -lGL -o ${WORKDIR}/sdlglshader
|
${CC} ${WORKDIR}/sdlglshader.c `pkg-config --cflags --libs sdl2` -lGLESv2 -o ${WORKDIR}/sdlglshader
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include <SDL2/SDL_opengl.h>
|
#include <SDL2/SDL_opengl.h>
|
||||||
#include <GL/gl.h>
|
#include <GLES/gl.h>
|
||||||
|
|
||||||
typedef int32_t i32;
|
typedef int32_t i32;
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
#include <SDL2/SDL_opengl.h>
|
#include <SDL2/SDL_opengl.h>
|
||||||
#include <GL/gl.h>
|
#include <GLES/gl.h>
|
||||||
|
|
||||||
typedef int32_t i32;
|
typedef int32_t i32;
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
|
Reference in New Issue
Block a user