From 52ffc461e5a1a4e0e1230ac96ef6d77a984ee059 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 16 Jul 2020 13:15:15 +0200 Subject: Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures) --- include/window_texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/window_texture.h') 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); -- cgit v1.2.3