Set viewUpdated=true for macOS scroll wheel, open vulkanExamples window in front of Xcode, accept mouse click-through on macOS

This commit is contained in:
Stephen Saunders 2022-07-06 21:35:07 -04:00
parent 8bc8d14cf2
commit a184bd7007
3 changed files with 10 additions and 1 deletions

View file

@ -107,6 +107,7 @@ void MVKExample::mouseDragged(double x, double y) {
void MVKExample::scrollWheel(short wheelDelta) {
_vulkanExample->camera.translate(glm::vec3(0.0f, 0.0f, wheelDelta * 0.05f * _vulkanExample->camera.movementSpeed));
_vulkanExample->viewUpdated = true;
}
void MVKExample::fullScreen(bool fullscreen) {