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)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Tue, 6 May 2014 14:39:12 +0000 (15:39 +0100)
commit531e19214a7500bf1c915e99be731d91f1d05394
tree43c1d75dd0954c82cee075fbf76531c2d2337289
parent2115f11f0b29b0f48e377557fc4ca2ae3a0701e7
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