summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
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;