summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/32-particles/particles.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/32-particles/particles.cpp')
-rw-r--r--3rdparty/bgfx/examples/32-particles/particles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/32-particles/particles.cpp b/3rdparty/bgfx/examples/32-particles/particles.cpp
index e7ee31fd20a..7a504eb69e5 100644
--- a/3rdparty/bgfx/examples/32-particles/particles.cpp
+++ b/3rdparty/bgfx/examples/32-particles/particles.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2011-2019 Branimir Karadzic. All rights reserved.
+ * Copyright 2011-2021 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
@@ -333,7 +333,7 @@ public:
const double freq = double(bx::getHPFrequency() );
const float deltaTime = float(frameTime/freq);
- cameraUpdate(deltaTime, m_mouseState);
+ cameraUpdate(deltaTime, m_mouseState, ImGui::MouseOverArea() );
float view[16];
cameraGetViewMtx(view);