ref: 6fd554a7b2fa3282cb51ddd7e66596a5d6feceb1
parent: 028dfc92092b18a4c3c83534b1944ef57c35d9f5
author: David <gek@katherine>
date: Thu Mar 11 13:35:00 EST 2021
Automatic commit.
--- a/src/ztext.c
+++ b/src/ztext.c
@@ -66,7 +66,7 @@
GLint h = c->zb->ysize;
p[0].op = OP_PlotPixel;
- if (x > 0 && x < w && y > 0 && y < h) {
+ if (x > -1 && x < w && y > -1 && y < h) {
#if TGL_FEATURE_RENDER_BITS == 16
pix = RGB_TO_PIXEL((pix & COLOR_MULT_MASK), ((pix & 0xFF00)<<(COLOR_SHIFT - 8)), ((pix & 255) << COLOR_SHIFT) );
#endif