Early exit on failed mouse read.

This commit is contained in:
Caspian Rychlik-Prince 2003-06-07 12:49:55 +00:00
parent 72f2402a7f
commit e148f01ba9
1 changed files with 3 additions and 0 deletions

View File

@ -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) {