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
@ -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…
x
Reference in New Issue
Block a user