Merge branch 'release-0.1' of https://github.com/Vocaluxe/Vocaluxe into release-0.1
This commit is contained in:
commit
3dafd429d1
1 file changed
+4
-1
@@ -594,7 +594,10 @@ namespace Vocaluxe.Lib.Draw
|
||||
//Dispose all textures
|
||||
foreach (KeyValuePair<int, Texture> p in _D3DTextures)
|
||||
{
|
||||
p.Value.Dispose();
|
||||
if (p.Value != null)
|
||||
{
|
||||
p.Value.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
TexturedColoredVertex.GetDeclaration(_Device).Dispose();
|
||||
|
||||
Reference in new issue
Block a user