Initial ScaledImg creation is now forced even if caching thinks it's not
needed; fixes melee crashes. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@879 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -298,7 +298,8 @@ TFB_DrawImage_FixScaling (TFB_Image *image, int target)
|
||||
EXTENT old = image->extent;
|
||||
TFB_DrawCanvas_GetScaledExtent (image->NormalImg, target, &image->extent);
|
||||
|
||||
if ((old.width != image->extent.width) || (old.height != image->extent.height) || image->dirty)
|
||||
if ((old.width != image->extent.width) || (old.height != image->extent.height) ||
|
||||
image->dirty || !image->ScaledImg)
|
||||
{
|
||||
image->dirty = FALSE;
|
||||
if (!image->ScaledImg)
|
||||
|
||||
Reference in New Issue
Block a user