Skip to content

Commit

Permalink
🚑 made GpuContext explicitly uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Dec 15, 2024
1 parent 12b486d commit 51b9c13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ashura/engine/gpu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ struct GpuContext
GpuContext(GpuContext &&) = default;
GpuContext & operator=(GpuContext const &) = delete;
GpuContext & operator=(GpuContext &&) = default;
~GpuContext() = default;

~GpuContext()
void uninit()
{
release(default_image);
for (gpu::ImageView v : default_image_views)
Expand Down

0 comments on commit 51b9c13

Please sign in to comment.