From c7ad09c6856cc5e3be805866623d94258360fd60 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Thu, 18 Oct 2012 12:44:00 +0000 Subject: NEVERHOOD: Remove BaseSurface::addDirtyRect() which is obsolete as well --- engines/neverhood/graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/neverhood/graphics.h') diff --git a/engines/neverhood/graphics.h b/engines/neverhood/graphics.h index f27ee6295e..3ca3339585 100644 --- a/engines/neverhood/graphics.h +++ b/engines/neverhood/graphics.h @@ -88,7 +88,6 @@ public: BaseSurface(NeverhoodEngine *vm, int priority, int16 width, int16 height); virtual ~BaseSurface(); virtual void draw(); - virtual void addDirtyRect(); void clear(); void drawSpriteResource(SpriteResource &spriteResource); void drawSpriteResourceEx(SpriteResource &spriteResource, bool flipX, bool flipY, int16 width, int16 height); @@ -118,6 +117,7 @@ protected: NRect *_clipRects; uint _clipRectsCount; bool _transparent; + // Version changes each time the pixels are touched in any way byte _version; }; -- cgit v1.2.3