From 00fd503614571387750faac33069d1f2e500d59c Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 17 Oct 2023 09:53:23 -0400 Subject: ted starts up, but still broken --- ted-internal.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'ted-internal.h') 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; -- cgit v1.2.3