fix camera update issue in previous commit

fix Mac OSX build issue
This commit is contained in:
Erwin Coumans
2016-07-14 09:49:49 -07:00
parent 4a705d1e03
commit 34187fba1c
4 changed files with 6 additions and 3 deletions

View File

@@ -223,7 +223,7 @@ void MyKeyboardCallback(int key, int state)
b3MouseMoveCallback prevMouseMoveCallback = 0;
static void MyMouseMoveCallback( float x, float y)
{
bool handled = false;
bool handled = false;
if (sCurrentDemo)
handled = sCurrentDemo->mouseMoveCallback(x,y);
if (!handled && gui)