diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 20:47:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 20:47:05 +0000 |
| commit | c75192b4f8cf3d233fc3add0dd6525284ecd9dfc (patch) | |
| tree | c0c889137493418b900e5fb4082d1f20960a997c /server.c | |
| parent | box-drawing: force minsize optimization (diff) | |
box-drawing: reduce number of function arguments
We were using so many function arguments that a lot of the emitted
code was just stack push and pops to pass around arguments.
Bundle the buffer data, width, height, stride, and current DPI, into a
single ‘buf’ argument. This greatly reduces the number of arguments to
all functions.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions
