Skip to content

Commit

Permalink
Merge pull request adafruit#3757 from jamesbowman/main
Browse files Browse the repository at this point in the history
Fix opcode typo in EVE VertexFormat()
  • Loading branch information
tannewt authored Nov 25, 2020
2 parents 3508658 + fc344bc commit c284a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared-module/_eve/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit c284a57

Please sign in to comment.