WINTERMUTE: Remove ticket->_drawNum

This commit is contained in:
Willem Jan Palenstijn 2013-08-24 12:53:03 +02:00
parent 4386889dd5
commit efdf2d3ab7
2 changed files with 1 additions and 3 deletions

View File

@ -38,7 +38,6 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s
_owner(owner),
_srcRect(*srcRect),
_dstRect(*dstRect),
_drawNum(0),
_isValid(true),
_wantsDraw(true),
_transform(transform) {

View File

@ -52,7 +52,7 @@ class BaseSurfaceOSystem;
class RenderTicket {
public:
RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *surf, Common::Rect *srcRect, Common::Rect *dstRest, TransformStruct transform);
RenderTicket() : _isValid(true), _wantsDraw(false), _drawNum(0), _transform(TransformStruct()) {}
RenderTicket() : _isValid(true), _wantsDraw(false), _transform(TransformStruct()) {}
~RenderTicket();
const Graphics::Surface *getSurface() const { return _surface; }
// Non-dirty-rects:
@ -64,7 +64,6 @@ public:
bool _isValid;
bool _wantsDraw;
uint32 _drawNum;
TransformStruct _transform;