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);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Leave anyway and come back next time
|
||||
return;
|
||||
}
|
||||
|
||||
if (usingNativeCursor) {
|
||||
|
|
Loading…
Reference in New Issue