From 3420f0d0c6619a7403dd37f64aa4caaef7ab20c2 Mon Sep 17 00:00:00 2001 From: Falco Girgis Date: Wed, 31 Jan 2024 01:56:01 -0600 Subject: [PATCH] Adjusting vertex buffers. --- GL/platforms/sh4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GL/platforms/sh4.c b/GL/platforms/sh4.c index 06058b4..f145173 100644 --- a/GL/platforms/sh4.c +++ b/GL/platforms/sh4.c @@ -6,7 +6,7 @@ #define CLIP_DEBUG 0 -#define PVR_VERTEX_BUF_SIZE 2560 * 256 +#define PVR_VERTEX_BUF_SIZE 2048 * 256 * 2 #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) @@ -29,7 +29,8 @@ void InitGPU(_Bool autosort, _Bool fsaa) { PVR_VERTEX_BUF_SIZE, /* Vertex buffer size */ 0, /* No DMA */ fsaa, /* No FSAA */ - (autosort) ? 0 : 1 /* Disable translucent auto-sorting to match traditional GL */ + (autosort) ? 0 : 1 /* Disable translucent auto-sorting to match traditional GL */, + .opb_overflow_count = 1 }; pvr_init(¶ms);