mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
build: Check for GLES3/gl3ext.h existence
Some OpenGL drivers do not ship this but use GLES2/gl2ext.h instead. This is also in line with Khronos's recommendations https://bugzilla.gnome.org/show_bug.cgi?id=781885
This commit is contained in:
parent
aef461d4a0
commit
73af514e1a
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@
|
|||
# else
|
||||
# if GST_GL_HAVE_GLES3
|
||||
# include <GLES3/gl3.h>
|
||||
# include <GLES3/gl3ext.h>
|
||||
# if GST_GL_HAVE_GLES3EXT3_H
|
||||
# include <GLES3/gl3ext.h>
|
||||
# endif
|
||||
# include <GLES2/gl2ext.h>
|
||||
# else
|
||||
# include <GLES2/gl2.h>
|
||||
# include <GLES2/gl2ext.h>
|
||||
|
|
Loading…
Reference in a new issue