Using null instead of CTexture(-1) for "no texture"
This commit is contained in:
1 parent
f370693dde
commit
142a690cc6
27 files changed
+430
-588
No files matched your search
@@ -453,8 +453,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
|
||||
_TextBG.Draw();
|
||||
|
||||
|
||||
if (_Vidtex.Index != -1 && _Video != -1)
|
||||
if (_Vidtex != null && _Video != -1)
|
||||
{
|
||||
if (_Vidtex.Color.A < 1)
|
||||
_CoverBig.Draw(1f, EAspect.Crop);
|
||||
|
||||
Reference in new issue
Block a user