default to webcam off

This commit is contained in:
2025-02-27 04:27:54 -06:00
parent 99fbe8f876
commit b48363fc99
3 changed files with 4 additions and 10 deletions

View File

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