Gawain: increase size of immediate mode buffer

New value of 4MB should handle our needs without taking up too many GPU
resources.

Old value of 1KB was for observing what happens when the buffer fills up
and we need to flush and start a new one.
This commit is contained in:
2016-08-13 16:31:44 -04:00
parent dfbc51f764
commit e36af2c257

View File

@@ -258,8 +258,7 @@ typedef struct {
} Immediate;
// size of internal buffer -- make this adjustable?
// #define IMM_BUFFER_SIZE (4 * 1024 * 1024)
#define IMM_BUFFER_SIZE 1024
#define IMM_BUFFER_SIZE (4 * 1024 * 1024)
static PER_THREAD bool initialized = false;
static PER_THREAD Immediate imm;