glupload: guard against glEGLImageTexture2D not existing
authorMatthew Waters <matthew@centricular.com>
Thu, 18 Mar 2021 03:20:34 +0000 (14:20 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 28 Apr 2021 02:42:15 +0000 (12:42 +1000)
commitf7709826353cb0b3bc59eda16414a046f55f8144
tree088dca63dc16bc7d53aadf0ecb7adfada0737ffa
parent4ef5c91697a141fea7317aff7f0f28e5a861db99
glupload: guard against glEGLImageTexture2D not existing

e.g. if targetting EGL/opengl, we would attempt to use this GLES
function when wrapping EGLImage's.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1071>
gst-libs/gst/gl/egl/gstglmemoryegl.c
gst-libs/gst/gl/gstglupload.c