Removing alloca compat include.

This commit is contained in:
Бранимир Караџић
2024-12-21 19:24:50 -08:00
parent 6dfd865300
commit 896c610b72
11 changed files with 30 additions and 30 deletions

View File

@@ -1169,7 +1169,7 @@ struct DebugDrawEncoderImpl
}
else
{
mtx = (float*)alloca(_num*64);
mtx = (float*)BX_STACK_ALLOC(_num*64);
for (uint16_t ii = 0; ii < _num; ++ii)
{
const float* mtxTransform = (const float*)_mtx;

View File

@@ -176,7 +176,7 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
{
uint32_t num = entry::getNumApps();
const char** items = (const char**)alloca(num*sizeof(void*) );
const char** items = (const char**)BX_STACK_ALLOC(num*sizeof(void*) );
uint32_t ii = 0;
int32_t current = 0;