Skip to content

Commit 356735f

Browse files
FIX: Windows build and PQLabs TUIO cleanup
1 parent 0f014b5 commit 356735f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

external/include/osc/udp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ struct UdpSocket {
343343
continue;
344344

345345
if (binding) {
346-
if (bind(handle, rp->ai_addr, (int)rp->ai_addrlen) != 0) {
346+
if (::bind(handle, rp->ai_addr, (int)rp->ai_addrlen) != 0) {
347347
close();
348348
} else {
349349
socklen_t len = (socklen_t)local_addr.maxLen();

src/omicron/omicron/PQService.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,21 +205,18 @@ void PQService::poll()
205205

206206
if (aliveState[id] == 1)
207207
{
208-
ofmsg(" Touch ID %1% (%2%, %3%) DOWN", %id %x %y);
209208
tp.point_event = 0;
210209
aliveState[id] = 2;
211210
}
212211
else if (aliveState[id] == 2)
213212
{
214-
ofmsg(" Touch ID %1% (%2%, %3%) MOVE", %id %x %y);
215213
tp.point_event = 1;
216214
}
217215

218216
OnTouchPoint(tp);
219217
}
220218
else if (MSG_ALIVE)
221219
{
222-
ofmsg(" Alive: %1%", %aliveIDs.size());
223220
map<int, int>::iterator it;
224221

225222
for ( it = aliveState.begin(); it != aliveState.end(); it++ )

0 commit comments

Comments
 (0)