catch curser in SetCameraMode

This commit is contained in:
Crydsch 2022-07-18 17:01:29 +02:00
parent db6317eb93
commit 22be6c3b61

View File

@ -231,6 +231,12 @@ void SetCameraMode(Camera3D *camera, int mode)
{
camera->swingCounter = 0; // Disable
}
// Catch cursor
#ifndef CAMERA_STANDALONE
// Note: This is engine specific functionality
DisableCursor();
#endif
}
// Returns the cameras forward vector (normalized)