multi-touch callback had a copy paste error in the draw loop (thanks sorav for reporting)

This commit is contained in:
Diederick C. Niehorster 2017-06-05 20:32:27 +02:00
parent 40a20ed2b1
commit a40f9e9c4e

View File

@ -58,7 +58,7 @@ void onDisplay(void) {
glVertexPointer(2, GL_FLOAT, 0, square);
for (d = 0; d < NUM_DEVICES; d++) {
int c;
for (c = 0; d < NUM_DEVICES; d++) {
for (c = 0; c < NUM_CURSORS; c++) {
Cursor C = &cursors[d][c];
if (C->on) {
glMatrixMode(GL_MODELVIEW);