Avoid draw issues with indicators
commit5e96752248cff9f5b996cd90305230af96cf942e
authorOlly Betts <olly@survex.com>
Tue, 17 May 2022 01:39:30 +0000 (17 13:39 +1200)
committerOlly Betts <olly@survex.com>
Tue, 17 May 2022 01:39:30 +0000 (17 13:39 +1200)
treea92f1f2efc201b7b66bac52fe5070e148e89f91f
parentd5c2dd99176bd1446040232fbdc3eec3823ad1df
Avoid draw issues with indicators

On Microsoft Windows with wx 3.1.6 we were getting lines and triangles
extending to ridiculously large coordinates.  I'm not clear exactly what
was going on, but adjusting how the coordinates are calculated to be in
floating point sooner seems to have fixed it.
src/gfxcore.cc
src/gla-gl.cc
src/gla.h