Annotate Cell structure

Make it clear what parts are needed only on the CPU
This commit is contained in:
Kovid Goyal
2018-01-18 12:47:49 +05:30
parent e86e5ce1d8
commit 5fd4bc965f

View File

@@ -134,11 +134,12 @@ typedef struct {
} Region;
typedef struct {
char_type ch;
color_type fg, bg, decoration_fg;
combining_type cc;
sprite_index sprite_x, sprite_y, sprite_z;
attrs_type attrs;
// The following are only needed on the CPU, not the GPU
char_type ch;
combining_type cc;
} Cell;
typedef struct {