Fix opcode typo in VertexFormat()

This commit is contained in:
James Bowman 2020-11-24 17:26:39 -08:00
parent e778fc1f87
commit fc344bc818
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ void common_hal__eve_Vertex2f(common_hal__eve_t *eve, mp_float_t x, mp_float_t y
void common_hal__eve_VertexFormat(common_hal__eve_t *eve, uint32_t frac)
{
C4(eve, ((27 << 24) | ((frac & 7))));
eve->vscale = 1 << eve->vscale;
C4(eve, ((39 << 24) | ((frac & 7))));
eve->vscale = 1 << frac;
}