summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 09:53:23 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 09:53:23 -0400
commit00fd503614571387750faac33069d1f2e500d59c (patch)
treeb075628318b11090e3189e3455e61e8cd7c3c884 /ted-internal.h
parentfb4122bc9dd0bef071908371c6d4cf19b7efa8f1 (diff)
ted starts up, but still broken
Diffstat (limited to 'ted-internal.h')
-rw-r--r--ted-internal.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/ted-internal.h b/ted-internal.h
index ad7ce3a..0b53e6a 100644
--- a/ted-internal.h
+++ b/ted-internal.h
@@ -55,17 +55,7 @@ typedef struct {
CommandArgument argument;
} KeyAction;
-/// Need to use reference counting for textures because of Settings:
-/// We copy parent settings to children
-/// e.g.
-/// ```
-/// [core]
-/// bg-texture = "blablabla.png"
-/// [Javascript.core]
-/// some random shit
-/// ```
-/// the main Settings' bg_texture will get copied to javascript's Settings,
-/// so we need to be extra careful about when we delete textures.
+/// Reference-counted texture
typedef struct {
u32 ref_count;
GLuint texture;