Fix missing null check
This commit is contained in:
1 parent
0796cbaef8
commit
4a068f113e
1 file changed
+2
@@ -303,6 +303,8 @@ namespace Vocaluxe.Lib.Draw
|
||||
|
||||
protected TTextureType _GetTexture(CTexture textureRef)
|
||||
{
|
||||
if (textureRef == null)
|
||||
return null;
|
||||
TTextureType texture;
|
||||
_Textures.TryGetValue(textureRef.ID, out texture);
|
||||
return texture;
|
||||
|
||||
Reference in new issue
Block a user