aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-16 13:15:15 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-16 13:15:15 +0200
commit52ffc461e5a1a4e0e1230ac96ef6d77a984ee059 (patch)
treeac6d889185b197dd1ddfbf76445de663fb490969 /include
parenta68bb92400c707c71e0ec42c43a3f9cf3b863160 (diff)
Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures)
Diffstat (limited to 'include')
-rw-r--r--include/window_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/window_texture.h b/include/window_texture.h
index 80e4d66..d543a79 100644
--- a/include/window_texture.h
+++ b/include/window_texture.h
@@ -20,7 +20,7 @@ int window_texture_init(WindowTexture *window_texture, Display *display, Window
void window_texture_deinit(WindowTexture *self);
/*
- This should be called when the target window is resized.
+ This should ONLY be called when the target window is resized.
Returns 0 on success.
*/
int window_texture_on_resize(WindowTexture *self);