aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl/utils.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-03-28 16:13:56 +0200
committerGravatar wm4 <wm4@nowhere>2016-03-28 16:13:56 +0200
commitfb70819048eee417a4c666199ede35db820d51f5 (patch)
tree56bf72ed9111381fc114ef39193a4c967e84b9bf /video/out/opengl/utils.c
parentc51fe7944d97d79af5c73c38e415af2332e529ff (diff)
vo_opengl: don't upload potentially uninitialized memory to GL buffer
If the texture count is lower than 4, entries in va.textcoord[] will remain uninitialized. While this is unlikely to be a problem (since these values are unused on the shader side too), it's not nice and might explain some things which have shown up in valgrind. Fix by always initializing the whole thing.
Diffstat (limited to 'video/out/opengl/utils.c')
0 files changed, 0 insertions, 0 deletions