Limit amount of pending data we will store

This commit is contained in:
Kovid Goyal
2023-10-30 13:27:37 +05:30
parent 969bd05fc5
commit a4ca143fc5
2 changed files with 4 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ typedef struct {int x;} *SPRITE_MAP_HANDLE;
#define FONTS_DATA_HEAD SPRITE_MAP_HANDLE sprite_map; double logical_dpi_x, logical_dpi_y, font_sz_in_pts; unsigned int cell_width, cell_height;
typedef struct {FONTS_DATA_HEAD} *FONTS_DATA_HANDLE;
#define READ_BUF_SZ (1024*1024)
#define READ_BUF_SZ (1024u*1024u)
#define clear_sprite_position(cell) (cell).sprite_x = 0; (cell).sprite_y = 0; (cell).sprite_z = 0;