mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 00:14:04 +00:00
Early exit on failed mouse read.
This commit is contained in:
parent
72f2402a7f
commit
e148f01ba9
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue