Fix issue from PR #1023
This commit is contained in:
parent
fb418d568c
commit
3ab9c22516
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#include <malloc.h>
|
||||
#include "ta.h"
|
||||
#include "pvr_regs.h"
|
||||
|
||||
|
@ -151,7 +152,7 @@ struct TA_context
|
|||
}
|
||||
void Alloc()
|
||||
{
|
||||
tad.Reset((u8*)malloc(2*1024*1024));
|
||||
tad.Reset((u8*)memalign(32, 2*1024*1024));
|
||||
|
||||
rend.verts.InitBytes(1024*1024,&rend.Overrun); //up to 1 mb of vtx data/frame = ~ 38k vtx/frame
|
||||
rend.idx.Init(60*1024,&rend.Overrun); //up to 60K indexes ( idx have stripification overhead )
|
||||
|
|
Loading…
Reference in New Issue