Disabled img->dirty for now, it interfered badly with planet surface

zooming; cleaned some old comments


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@686 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-02-05 19:08:13 +00:00
parent be80caebf1
commit f2c38ac4dd
+2 -5
View File
@@ -67,7 +67,7 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
if (img->ScaledImg)
{
if (img->scale != gscale || img->dirty)
if (img->scale != gscale)
{
SDL_FreeSurface(img->ScaledImg);
img->ScaledImg = NULL;
@@ -76,10 +76,7 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
if (!img->ScaledImg)
{
// Atleast melee zooming and planet surfaces will use this
// NOTE: Planet surfaces maybe causes memory leaks,
// I haven't currently seen DELETEIMAGE executed to them at all.
// atleast melee zooming uses this
SDL_Surface *new_surf;