]> code.ossystems Code Review - openembedded-core.git/commit
kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 13 Dec 2021 09:16:25 +0000 (10:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Dec 2021 22:45:40 +0000 (22:45 +0000)
commitb7b6284fbc08452c7ed9ea9180003f043a624ae7
tree072220b69f9cc6d00418384c2b05e2cd2b2d99fa
parentcc34e3bdedc045baf97ebc2258295d9433cb332e
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>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/kmscube/kmscube/0001-texturator-Use-correct-GL-extension-header.patch [new file with mode: 0644]
meta/recipes-graphics/kmscube/kmscube_git.bb