Fix assertion failure with enqueue texture

This commit is contained in:
Flamefire committed 2014-12-07 22:05:18 +01:00
1 parent 5a675e5bff
commit 1b9ddd194e
1 file changed
+1 -1
+1 -1
View File
@@ -357,7 +357,7 @@ namespace Vocaluxe.Lib.Draw
/// <returns></returns>
protected CTextureRef _GetTextureReference(Size origSize, TTextureType texture)
{
Debug.Assert(origSize.Width > 0 && origSize.Height > 0);
Debug.Assert(origSize.Width > 0 && origSize.Height > 0 || origSize.Width == -1 && origSize.Height == -1);
Debug.Assert(texture != null);
int id;
lock (_MutexID)