ref: 005a5734a28e9bd767a55d7c919b0639e80807ab
parent: 8a5f4eb867dec6cb50ed31bd24775fa18f91956d
author: David <gek@katherine>
date: Fri Feb 12 15:39:13 EST 2021
improving perf
--- a/src/vertex.c
+++ b/src/vertex.c
@@ -246,9 +246,9 @@
v->color = c->current_color;
}
/* Added by Gek to fix bug with rendering*/
- v->zp.r=(unsigned int)(v->color.v[0] * 65535) & 65535;
- v->zp.g=(unsigned int)(v->color.v[1] * 65535) & 65535;
- v->zp.b=(unsigned int)(v->color.v[2] * 65535) & 65535;
+ //v->zp.r=(unsigned int)(v->color.v[0] * 65535) & 65535;
+ //v->zp.g=(unsigned int)(v->color.v[1] * 65535) & 65535;
+ //v->zp.b=(unsigned int)(v->color.v[2] * 65535) & 65535;
/* tex coords */
if (c->texture_2d_enabled) {