gl: allow to avoid calling glTexImage2D(w, h, NULL) when generating a texture
authorJulien Isorce <julien.isorce@collabora.co.uk>
Tue, 6 May 2014 10:51:31 +0000 (11:51 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:39 +0000 (19:31 +0000)
commit4bc96ae4cdfd8356f611f7c98fbb397a7c53b2ca
tree5258590920ccc9111e7f4413371f8b0b93e2d6a9
parent88864ea2cc26f274e6e861176a31b8b353a78cb3
gl: allow to avoid calling glTexImage2D(w, h, NULL) when generating a texture

Just pass 0 as width or height to gst_gl_context_gen_texture.
gst-libs/gst/gl/gstglutils.c