commit 144f64a31905cc8a536b0d244a8aeda1b8aae29a parent 40f6192ddbf989d67b08946c9c82ea9f4a2072f6 Author: Brian Swetland <swetland@frotz.net> Date: Wed, 19 Jun 2013 23:58:53 -0700 off by one Diffstat:
M | common/textgrid.cc | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/textgrid.cc b/common/textgrid.cc @@ -84,7 +84,7 @@ int TextGrid::init(App *a, int w, int h) { return -1; - cb.proj.setOrtho(0, w, 0, h, -1, 1); + cb.proj.setOrtho(0, w - 1, 0, h - 1, -1, 1); cb.cw = width; cb.ch = height;