Fix rendering of crosses using point sprites
commitedfaf35ffd59cdf66b957ef5ad6560ddcd7f79e6
authorOlly Betts <olly@survex.com>
Thu, 14 Jul 2016 19:08:36 +0000 (14 21:08 +0200)
committerOlly Betts <olly@survex.com>
Thu, 14 Jul 2016 19:14:51 +0000 (14 21:14 +0200)
tree0e3c2b46d64072213c667a14e52680addc27baa1
parent35b5fa90d8cd17c2882d49ea1ebdeedbc5c61972
Fix rendering of crosses using point sprites

The texture being used was misaligned relative to the image used
for the visual fidelity check, so the check always failed and
textures would never be used.

Where point sprites are supported, they're probably the fastest
option - on my netbook this change improves FPS by ~6 fold with
crosses on for a large survey.
src/gla-gl.cc