From 5fd4bc965fbba836908ae126832cad8c61912695 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Jan 2018 12:47:49 +0530 Subject: [PATCH] Annotate Cell structure Make it clear what parts are needed only on the CPU --- kitty/data-types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kitty/data-types.h b/kitty/data-types.h index 680cf2801..2f0c62443 100644 --- a/kitty/data-types.h +++ b/kitty/data-types.h @@ -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 {