x11 window depthbits and render text immediately

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 586d39e644
commit 609b571933
6 changed files with 31 additions and 44 deletions
+2 -3
View File
@@ -24,11 +24,11 @@ typedef struct TextInstance {
float model[4][4];
} TextInstance;
typedef struct TextInstanceList {
typedef struct GlyphInstanceList {
TextInstance *data;
int size;
int capacity;
} TextInstanceList;
} GlyphInstanceList;
typedef struct Context {
bool should_quit;
@@ -36,7 +36,6 @@ typedef struct Context {
Size screen_size;
Size window_size;
ZephFont font;
TextInstanceList texts;
Matrix4x4 projection;
} Context;