shithub: tinygl

Download patch

ref: 028dfc92092b18a4c3c83534b1944ef57c35d9f5
parent: 1e31558458e269e127ae6a168086bffaed12fe3c
author: David <gek@katherine>
date: Thu Mar 11 13:26:46 EST 2021

Automatic commit.

--- a/src/ztext.c
+++ b/src/ztext.c
@@ -29,7 +29,7 @@
 	GLint mult = c->textsize;
 	for (x = 0; x < 8; x++) {
 		for (y = 0; y < 8; y++) {
-			set = bitmap[x] & 1 << y;
+			set = bitmap[x] & (1 << y);
 			if (set)
 				for (GLint i = 0; i < mult; i++)
 					for (GLint j = 0; j < mult; j++)