Merge pull request #3757 from jamesbowman/main

Fix opcode typo in EVE VertexFormat()
This commit is contained in:
Scott Shawcroft 2020-11-25 14:50:03 -08:00 committed by GitHub
commit c284a57a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}