From 3e0c4b2eb78fb61d26d2e6f345e3162adfe5e231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Fri, 9 Apr 2021 19:38:20 +0200 Subject: [PATCH] Releasing RasterizerState insted of deleting --- Sandbox/src/SandboxApp.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sandbox/src/SandboxApp.bf b/Sandbox/src/SandboxApp.bf index 722ebf1..3d33cba 100644 --- a/Sandbox/src/SandboxApp.bf +++ b/Sandbox/src/SandboxApp.bf @@ -57,7 +57,7 @@ namespace Sandbox GeometryBinding _quadGeometryBinding ~ _?.ReleaseRef(); - RasterizerState _rasterizerState ~ delete _; + RasterizerState _rasterizerState ~ _?.ReleaseRef(); GraphicsContext _context ~ _?.ReleaseRef();