Early exit on failed mouse read.
This commit is contained in:
parent
72f2402a7f
commit
e148f01ba9
|
@ -404,6 +404,9 @@ void UpdateMouseFields() {
|
||||||
printf("Error getting mouse state: %d\n", hRes);
|
printf("Error getting mouse state: %d\n", hRes);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Leave anyway and come back next time
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingNativeCursor) {
|
if (usingNativeCursor) {
|
||||||
|
|
Loading…
Reference in New Issue