Compare commits

...

2 Commits

Author SHA1 Message Date
Esppiral V
e9e3bcb1f3 Disabble PVR_CULLING_SMALL 2025-05-01 19:02:32 +00:00
Esppiral V
88bcd37770 Edit rwdc.cpp 2025-05-01 10:33:31 +00:00

View File

@@ -1327,9 +1327,9 @@ static uint32 cullModePvr;
static inline unsigned pvrCullMode(uint32_t cullMode) {
switch(cullMode) {
case CULLNONE: return PVR_CULLING_SMALL;
case CULLBACK: return PVR_CULLING_CW;
default: return PVR_CULLING_CCW;
case CULLNONE: return PVR_CULLING_NONE; // No descartar nada
case CULLBACK: return PVR_CULLING_NONE; // No descartar nada
default: return PVR_CULLING_NONE; // No descartar nada
}
}
@@ -4957,10 +4957,10 @@ driverOpen(void *o, int32, int32)
#endif
if (pvr_params.fsaa_enabled) {
pvr_params.vertex_buf_size = (1024 + 768) * 1024;
pvr_params.vertex_buf_size = (1024 + 768) * 1024; // ≈ 1.75 MB
pvr_params.opb_overflow_count = 4; // 307200 bytes
} else {
pvr_params.vertex_buf_size = (1024 + 1024) * 1024;
pvr_params.vertex_buf_size = (int)(2.5f * 1024 * 1024); // 2.5 MB
pvr_params.opb_overflow_count = 7; // 268800 bytes
}