commit | 177488d5914454c556bcd820558e10e6312debbb | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Sun Nov 08 20:57:17 2020 -0500 |
committer | Ryan C. Gordon <icculus@icculus.org> | Sun Nov 08 20:57:17 2020 -0500 |
tree | d5f10be5551f475d64224c84263a8c9bc95dba21 | |
parent | b85f65ec6ea81e22410620cb4d1905a6dd36d53d [diff] |
opengl: Make diagonal lines match the software renderer. OpenGL leaves the final line segment open, SDL's software renderer does not, so we need a tiny bit of trigonometry here to move one more pixel in the right direction.