Warning fixes

This commit is contained in:
Henrik Rydgard 2012-07-23 16:49:08 +02:00
parent 4fb4124e0a
commit 0f8d52fecb

View File

@ -47,6 +47,7 @@ bool down(int i, float *xdelta, float *ydelta) {
}
*xdelta = fingers[i].downX;
*ydelta = fingers[i].downY;
return true;
}
bool dragDistance(int i, float *xdelta, float *ydelta) {
@ -55,6 +56,7 @@ bool dragDistance(int i, float *xdelta, float *ydelta) {
*xdelta = fingers[i].X - fingers[i].downX;
*ydelta = fingers[i].Y - fingers[i].downY;
return true;
}
bool dragDelta(int i, float *xdelta, float *ydelta) {
@ -63,6 +65,7 @@ bool dragDelta(int i, float *xdelta, float *ydelta) {
*xdelta = fingers[i].X - fingers[i].lastX;
*ydelta = fingers[i].Y - fingers[i].lastY;
return true;
}
}