Revert tinygl_text API and add tinygl_draw_message

This commit is contained in:
Michael Hayes
2011-09-24 21:25:49 +00:00
parent cc3347edd4
commit 76665cbc7f
26 changed files with 65 additions and 52 deletions
+1 -2
View File
@@ -51,8 +51,7 @@ note_play (tweeter_t tweeter, tweeter_note_t note, uint8_t velocity)
{
tinygl_clear ();
if (note != 0 && velocity != 0)
tinygl_text (note_names[note % 12],
tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (note_names[note % 12]);
tweeter_note_play (tweeter, note, velocity);
}