File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,11 @@ void DrawOneInst(struct Instance* curr)
171171 //the idea is that it loads vertices to scratchpad and with proper sorting,
172172 //you can draw may trigles of the list with minimum additional loads
173173 //then once you don't need vertex data, you can overwrite same indices with new data
174+ #ifdef REBUILD_PC
174175 CompVertex stack [256 ] = { 0 };
176+ #else
177+ CompVertex * stack = 0x1f800000 ;
178+ #endif
175179
176180 // pCmd[0] is number of commands
177181 pCmd ++ ;
@@ -429,15 +433,6 @@ void DrawOneInst(struct Instance* curr)
429433
430434void TEST_DrawInstances (struct GameTracker * gGT )
431435{
432-
433- // If PS1, but not PC, dont draw,
434- // our function is too slow for PS1
435- #ifndef REBUILD_PC
436- #ifdef REBUILD_PS1
437- return ;
438- #endif
439- #endif
440-
441436 if (gGT -> level1 != 0 )
442437 {
443438 if (gGT -> level1 -> ptrInstDefs != 0 )
You can’t perform that action at this time.
0 commit comments