mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
Virtualise drawBits1().
svn-id: r46076
This commit is contained in:
parent
55c03b9aab
commit
1d948f1012
@ -1098,8 +1098,6 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const
|
|||||||
} else {
|
} else {
|
||||||
if (_shadowMode != kNoShadowMode) {
|
if (_shadowMode != kNoShadowMode) {
|
||||||
*(dst + 1) = _shadowColor;
|
*(dst + 1) = _shadowColor;
|
||||||
*(dst + s.pitch) = _shadowColor;
|
|
||||||
*(dst + s.pitch + 1) = _shadowColor;
|
|
||||||
}
|
}
|
||||||
*dst = _color;
|
*dst = _color;
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ protected:
|
|||||||
ShadowMode _shadowMode;
|
ShadowMode _shadowMode;
|
||||||
|
|
||||||
void enableShadow(bool enable);
|
void enableShadow(bool enable);
|
||||||
void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
|
virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CharsetRendererCommon(ScummEngine *vm);
|
CharsetRendererCommon(ScummEngine *vm);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user