fix memory leak

main
Brett 2024-05-15 01:50:20 -04:00
parent 8ec4c2c30b
commit ae2ad8d1ab
5 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.25)
set(BLT_GRAPHICS_VERSION 0.13.17) set(BLT_GRAPHICS_VERSION 0.13.18)
set(BLT_GRAPHICS_TEST_VERSION 0.0.1) set(BLT_GRAPHICS_TEST_VERSION 0.0.1)
project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION}) project(BLT_WITH_GRAPHICS VERSION ${BLT_GRAPHICS_VERSION})

View File

@ -80,7 +80,10 @@ namespace blt::gfx
return true; return true;
} }
virtual ~pp_step_t() = default; virtual ~pp_step_t()
{
draw_buffer.destroy();
}
protected: protected:
frame_buffer_t draw_buffer; frame_buffer_t draw_buffer;

@ -1 +1 @@
Subproject commit 12169a700195f23d5ebce54d0edb79bee4f8b0e1 Subproject commit a8b2bc2d010480544c3162daa7384a252946bda1

@ -1 +1 @@
Subproject commit 231cbee0fc4f59dbe5b8b853a11b08dc84e57c65 Subproject commit a1b06823fe2d964a62fda99385499b218cf5cea5

@ -1 +1 @@
Subproject commit 111397c71a5f1c2c88e05da9c84edfdba2e472a4 Subproject commit 6675317107257c2cc16c947b359d557821d85bf2