OSDN Git Service

More optimization of image cache
authornaru <bottle@mikage.to>
Sun, 20 Apr 2003 07:57:12 +0000 (07:57 +0000)
committernaru <bottle@mikage.to>
Sun, 20 Apr 2003 07:57:12 +0000 (07:57 +0000)
bottleclient/SppList.pas

index 3407951..701ffb2 100644 (file)
@@ -122,7 +122,7 @@ begin
     end;
   end else
   begin
-    FImagePool.AddObject(Ghost + ',' + IntToStr(Surface), nil);
+    FImagePool.InsertObject(0, Ghost + ',' + IntToStr(Surface), nil);
   end;
   if FImagePool.Count > MaxPoolImage then
   begin