summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/kmscube/kmscube_git.bb
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2021-12-13 10:16:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-14 22:46:38 +0000
commitccc8b556c00854494a76c188a14b333a4bfd1b12 (patch)
tree76b468d0aea5e094fda05f7c938fd12c78398281 /meta/recipes-graphics/kmscube/kmscube_git.bb
parentd9702b1bcc57c9069ec33713d1fb541d88f30936 (diff)
downloadpoky-ccc8b556c00854494a76c188a14b333a4bfd1b12.tar.gz
kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h
According to Khronos documentation[1], gl2ext.h can be used for OpenGL ES 3. Some vendor implementation of OpenGL ES 3, such as Rockchip's libmali[2], do not have a gl3ext.h but only a gl2ext.h while being OpenGL ES 3 compliant. This fixes the header files to be included from gl3ext.h to gl2ext.h to be compatible with (hopefully) all OpenGL ES 3 implementations. [1] https://www.khronos.org/registry/OpenGL/index_es.php#headers [2] https://github.com/rockchip-linux/libmali Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: b7b6284fbc08452c7ed9ea9180003f043a624ae7) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/kmscube/kmscube_git.bb')
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
index f4e6cd41e7..efaa962704 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315
12 12
13SRCREV = "9f63f359fab1b5d8e862508e4e51c9dfe339ccb0" 13SRCREV = "9f63f359fab1b5d8e862508e4e51c9dfe339ccb0"
14SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https" 14SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https"
15SRC_URI += "file://0001-texturator-Use-correct-GL-extension-header.patch"
15UPSTREAM_CHECK_COMMITS = "1" 16UPSTREAM_CHECK_COMMITS = "1"
16 17
17S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"