glslstage: add brackets around pointer dereference referencing an array
authorMatthew Waters <matthew@centricular.com>
Thu, 15 Oct 2015 15:57:19 +0000 (02:57 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:09 +0000 (19:32 +0000)
commit463e23bb470fb45e63836e194e2ae514faaf75ed
tree929ea0a9cdab0f9f96aae2961fa50e4f15ab651e
parent2b3a224dc04044c42f1bdda58efb0ec7c19a10df
glslstage: add brackets around pointer dereference referencing an array

While technically, i is always 0 and *vertex_sources[i++] is equivalant
to (*vertex_sources)[i++].  Be future-proof in the case of code
moves/changes/etc.

CID 1327406
gst-libs/gst/gl/gstglslstage.c