mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
d3d: saner size of vbuffer. probably doesn't fix anything noticable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2636 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -60,7 +60,7 @@ static LPDIRECT3DVERTEXDECLARATION9 vDecl;
|
|||||||
static u8 *fakeVBuffer; // format undefined - NativeVertexFormat takes care of the declaration.
|
static u8 *fakeVBuffer; // format undefined - NativeVertexFormat takes care of the declaration.
|
||||||
static u16 *fakeIBuffer; // These are just straightforward 16-bit indices.
|
static u16 *fakeIBuffer; // These are just straightforward 16-bit indices.
|
||||||
|
|
||||||
#define MAXVBUFFERSIZE 65536*3
|
#define MAXVBUFFERSIZE 65536
|
||||||
#define MAXIBUFFERSIZE 65536*3
|
#define MAXIBUFFERSIZE 65536*3
|
||||||
|
|
||||||
const Collection collectionTypeLUT[8] =
|
const Collection collectionTypeLUT[8] =
|
||||||
@ -81,7 +81,7 @@ void DestroyDeviceObjects();
|
|||||||
bool Init()
|
bool Init()
|
||||||
{
|
{
|
||||||
collection = C_NOTHING;
|
collection = C_NOTHING;
|
||||||
fakeVBuffer = new u8[MAXVBUFFERSIZE];
|
fakeVBuffer = new u8[MAXVBUFFERSIZE * 64];
|
||||||
fakeIBuffer = new u16[MAXIBUFFERSIZE];
|
fakeIBuffer = new u16[MAXIBUFFERSIZE];
|
||||||
CreateDeviceObjects();
|
CreateDeviceObjects();
|
||||||
VertexManager::s_pCurBufferPointer = fakeVBuffer;
|
VertexManager::s_pCurBufferPointer = fakeVBuffer;
|
||||||
|
Reference in New Issue
Block a user