softgpu: Avoid unnecessary flushing for curves.

We don't need to flush all drawing between curves in softgpu, let them
queue up.
This commit is contained in:
Unknown W. Brackets committed 2022-09-22 00:08:38 -07:00
1 parent 337518415e
commit fc39f042ae
4 files changed
+9 -3

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ SoftwareDrawEngine::SoftwareDrawEngine() {
// All this is a LOT of memory, need to see if we can cut down somehow. Used for splines.
decoded = (u8 *)AllocateMemoryPages(DECODED_VERTEX_BUFFER_SIZE, MEM_PROT_READ | MEM_PROT_WRITE);
decIndex = (u16 *)AllocateMemoryPages(DECODED_INDEX_BUFFER_SIZE, MEM_PROT_READ | MEM_PROT_WRITE);
flushOnParams_ = false;
}
SoftwareDrawEngine::~SoftwareDrawEngine() {