Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
b73cac4e4f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      panda/src/dxgsg/dxGraphicsStateGuardian.h

+ 4 - 1
panda/src/dxgsg/dxGraphicsStateGuardian.h

@@ -64,7 +64,10 @@ extern void dbgPrintVidMem(LPDIRECTDRAW7 pDD, LPDDSCAPS2 lpddsCaps,const char *p
 #define PRINTVIDMEM(pDD,pCaps,pMsg)
 #define PRINTVIDMEM(pDD,pCaps,pMsg)
 #endif
 #endif
 
 
-const int VERT_BUFFER_SIZE = (8*1024L);
+//const int VERT_BUFFER_SIZE = (8*1024L);
+// For sparkle particles, we can have 4 vertices per sparkle, and a 
+// particle pool size of 1024 particles
+const int VERT_BUFFER_SIZE = (32*4*1024L);
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 // 	 Class : DXGraphicsStateGuardian
 // 	 Class : DXGraphicsStateGuardian