File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using Silk . NET . Core . Contexts ;
22using Silk . NET . Core . Loader ;
33using Silk . NET . Maths ;
4- using Silk . NET . Windowing ;
54using Spout . Interop ;
65using System ;
76using System . Collections . Generic ;
@@ -172,7 +171,7 @@ public static unsafe async Task UpdateTexture() {
172171 }
173172
174173 public static void Cleanup ( ) {
175- spoutSender . Dispose ( ) ;
174+ if ( spoutSender != null ) { spoutSender . Dispose ( ) ; }
176175 }
177176
178177 static unsafe void SetOpenglPixelFormat ( HWND window ) {
Original file line number Diff line number Diff line change 1414 <PackageReference Include =" CommandLineParser" Version =" 2.9.1" />
1515 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
1616 <PackageReference Include =" Silk.NET.OpenGL" Version =" 2.22.0" />
17- <PackageReference Include =" Silk.NET.Windowing" Version =" 2.22.0" />
1817 <PackageReference Include =" Spout.NETCore" Version =" 2.7.16" />
1918 <PackageReference Include =" TerraFX.Interop.Windows" Version =" 10.0.26100.2" />
2019 <PackageReference Include =" WatsonWebsocket" Version =" 4.1.5" />
You can’t perform that action at this time.
0 commit comments