GRAPHICS: Initialize class variables in VectorRenderer
This commit is contained in:
parent
b9a6b99575
commit
c403182353
2 changed files with 4 additions and 1 deletions
|
@ -130,7 +130,7 @@ VectorRenderer *createRenderer(int mode);
|
|||
class VectorRenderer {
|
||||
public:
|
||||
VectorRenderer() : _activeSurface(NULL), _fillMode(kFillDisabled), _shadowOffset(0), _shadowFillMode(kShadowExponential),
|
||||
_disableShadows(false), _strokeWidth(1), _gradientFactor(1) {
|
||||
_disableShadows(false), _strokeWidth(1), _gradientFactor(1), _bevel(0), _dynamicData(0) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -543,6 +543,9 @@ VectorRendererSpec(PixelFormat format) :
|
|||
|
||||
_bitmapAlphaColor = _format.RGBToColor(255, 0, 255);
|
||||
_clippingArea = Common::Rect(0, 0, 32767, 32767);
|
||||
|
||||
_fgColor = _bgColor = _bevelColor = 0;
|
||||
_gradientStart = _gradientEnd = 0;
|
||||
}
|
||||
|
||||
/****************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue