functional async profile adding
This commit is contained in:
1 parent
2037e3edb4
commit
8ab93db26f
4 files changed
+83
-22
No files matched your search
@@ -28,10 +28,13 @@ namespace VocaluxeLib.Profile
|
||||
return (Texture.Index != -1);
|
||||
}
|
||||
|
||||
public void Reload()
|
||||
public bool Reload()
|
||||
{
|
||||
CBase.Drawing.RemoveTexture(ref Texture);
|
||||
STexture oldTexture = Texture;
|
||||
Texture = CBase.Drawing.AddTexture(FileName);
|
||||
CBase.Drawing.RemoveTexture(ref oldTexture);
|
||||
|
||||
return Texture.Index != -1;
|
||||
}
|
||||
|
||||
public void Unload()
|
||||
|
||||
Reference in new issue
Block a user