From fcb3b4ce5231218bcf949da4270bd85a2cfb3535 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Sun, 18 Sep 2011 14:52:04 +0300 Subject: client: rewrite surfaces cache use std::map instead of a specific template (CHash). There is no need for special template. Moreover, using std::map will allow easy iteration over the surfaces. --- client/red_sw_canvas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/red_sw_canvas.h') diff --git a/client/red_sw_canvas.h b/client/red_sw_canvas.h index ebac7109..cf97d1d3 100644 --- a/client/red_sw_canvas.h +++ b/client/red_sw_canvas.h @@ -29,7 +29,7 @@ public: SCanvas(bool onscreen, int width, int height, uint32_t format, RedWindow *win, PixmapCache& pixmap_cache, PaletteCache& palette_cache, - GlzDecoderWindow &glz_decoder_window, CSurfaces &csurfaces); + GlzDecoderWindow &glz_decoder_window, SurfacesCache &csurfaces); virtual ~SCanvas(); virtual void thread_touch() {} -- cgit