summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-12 23:11:34 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-12 23:11:34 +0200
commitbf762f566f1c8c5e9c636f0d1ad4e485ad322da9 (patch)
tree667d1c3bf7a4f5f9c1e8bc0b5d7189ef2a760437 /src/render/Framebuffer.hpp
parentf9985a36b345acf3fd4f6a1ad8170a475658fb60 (diff)
Fix VRAM memory leak when releasing snapshots
Diffstat (limited to 'src/render/Framebuffer.hpp')
-rw-r--r--src/render/Framebuffer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Framebuffer.hpp b/src/render/Framebuffer.hpp
index 3d15069d..6af59ca2 100644
--- a/src/render/Framebuffer.hpp
+++ b/src/render/Framebuffer.hpp
@@ -6,6 +6,8 @@
class CFramebuffer {
public:
+ ~CFramebuffer();
+
bool alloc(int w, int h);
void bind();
void release();