Skip to content

Commit

Permalink
fix mouse input crash in release mode #342 (#343)
Browse files Browse the repository at this point in the history
changed the break to a return so the unsupported button press won't get processed
  • Loading branch information
JancsikDominik authored Feb 20, 2023
1 parent eb8f691 commit 744aba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Falcor/Core/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ApiCallbacks
break;
default:
// Other keys are not supported
break;
return;
}

Window* pWindow = (Window*)glfwGetWindowUserPointer(pGlfwWindow);
Expand Down

0 comments on commit 744aba2

Please sign in to comment.