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->ScaledImg)
{ {
if (img->scale != gscale || img->dirty) if (img->scale != gscale)
{ {
SDL_FreeSurface(img->ScaledImg); SDL_FreeSurface(img->ScaledImg);
img->ScaledImg = NULL; img->ScaledImg = NULL;
@@ -76,10 +76,7 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
if (!img->ScaledImg) if (!img->ScaledImg)
{ {
// Atleast melee zooming and planet surfaces will use this // atleast melee zooming uses this
// NOTE: Planet surfaces maybe causes memory leaks,
// I haven't currently seen DELETEIMAGE executed to them at all.
SDL_Surface *new_surf; SDL_Surface *new_surf;