mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 11:23:52 +00:00
Removing alloca compat include.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user