aboutsummaryrefslogtreecommitdiff
path: root/window_texture.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-16 13:17:34 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-16 13:17:34 +0200
commit37f30c5ba5f670e087b206e80da622dcff09d903 (patch)
tree7f56a514dbee68a5fbde4b1dfb045ac860865883 /window_texture.h
parentc20af6ad5ef7ad92febe4e952e48853df577f421 (diff)
Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures)
Diffstat (limited to 'window_texture.h')
-rw-r--r--window_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window_texture.h b/window_texture.h
index 80e4d66..d543a79 100644
--- a/window_texture.h
+++ b/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);