default to webcam off

This commit is contained in:
2025-02-27 04:29:37 -06:00
parent b48363fc99
commit 8d6cc8ca58
3 changed files with 11 additions and 5 deletions

View File

@ -39,7 +39,7 @@ namespace Tesses::Framework::Threading
Mutex::Mutex()
{
#if defined(TESSESFRAMEWORK_ENABLE_THREADING)
auto md=this->data.SetField(new MutexHiddenFieldData());
auto md=this->data.AllocField<MutexHiddenFieldData>();
#if defined(_WIN32)
md->mtx = CreateMutex(NULL,false,NULL);
#elif defined(GEKKO)