glmemory: normalize the internal format we pass into glTex* functions
authorMatthew Waters <matthew@centricular.com>
Wed, 12 Dec 2018 12:25:58 +0000 (23:25 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 12 Dec 2018 13:10:10 +0000 (00:10 +1100)
commitcfae8bd6c10fdf8b5ce368e900b5ed47cdf62381
tree23009e983b6450b90865b08e70b932c368bcf8fe
parent56ff61eac448c64023489461bbfc59417ec63841
glmemory: normalize the internal format we pass into glTex* functions

Passing unsized formats sometimes breaks on embedded platforms

Take 2 at 694e30f858ebddae8c39cf934ff1b21ba7aa08e7,
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/49
gst-libs/gst/gl/gstglmemory.c