diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-16 13:17:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-16 13:17:34 +0200 |
commit | 37f30c5ba5f670e087b206e80da622dcff09d903 (patch) | |
tree | 7f56a514dbee68a5fbde4b1dfb045ac860865883 /window_texture.h | |
parent | c20af6ad5ef7ad92febe4e952e48853df577f421 (diff) |
Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures)
Diffstat (limited to 'window_texture.h')
-rw-r--r-- | window_texture.h | 2 |
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); |