Shrink IVB_TABLE_SIZE

It was way too big and the vertex buffer was failing to allocate in some titles.
This commit is contained in:
Luke Usher 2018-01-16 20:45:45 +00:00
parent ec1172f68f
commit 6b4e529bd6
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ extern DWORD *g_pIVBVertexBuffer;
extern X_D3DPRIMITIVETYPE g_IVBPrimitiveType;
extern DWORD g_IVBFVF;
#define IVB_TABLE_SIZE ONE_MB // This should be more than enough.. Tweak as necessary if it overflows
#define IVB_TABLE_SIZE 4096 // This should be more than enough. Tweak as necessary if it overflows or the resulting VertexBuffer fails to allocate
#define IVB_BUFFER_SIZE sizeof(_D3DIVB) * IVB_TABLE_SIZE
// TODO : Enlarge IVB_TABLE_SIZE and IVB_BUFFER_SIZE