Author: mordante
Date: Mon Jun 23 18:33:04 2008
New Revision: 27443
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27443&view=rev
Log:
Remove some comment which is no longer valid with the new LRU cache.
Modified:
trunk/src/image.cpp
trunk/src/unit.cpp
Modified: trunk/src/image.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/image.cpp?rev=27443&r1=27442&r2=27443&view=diff
==============================================================================
--- trunk/src/image.cpp (original)
+++ trunk/src/image.cpp Mon Jun 23 18:33:04 2008
@@ -551,8 +551,6 @@
static surface get_hexed(const locator i_locator)
{
- // w.e don't want to add it to the unscaled cache,
- // since we will normaly never need the non-hexed one.
surface image(get_image(i_locator, UNSCALED));
// Re-cut scaled tiles according to a mask.
const surface hex(get_image(game_config::terrain_mask_image,
Modified: trunk/src/unit.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=27443&r1=27442&r2=27443&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Mon Jun 23 18:33:04 2008
@@ -1717,10 +1717,7 @@
}
image_loc = image::locator(image_loc,adjusted_params.image_mod);
- // The caching used to be disabled for the lowmem case but that actually
- // resulted in a higher memory usage see bug ##11022.
surface image(image::get_image(image_loc, image::SCALED_TO_ZOOM));
-
if(image == NULL) {
image = still_image(true);
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits