Add missing initialization.

This commit is contained in:
Christian Speckner 2019-12-19 19:28:33 +01:00
parent ef10482291
commit 2b0204512e
3 changed files with 9 additions and 1 deletions

View File

@ -47,8 +47,12 @@ FBSurfaceSDL2::FBSurfaceSDL2(FrameBufferSDL2& buffer,
: myFB(buffer), : myFB(buffer),
myInterpolationMode(interpolation), myInterpolationMode(interpolation),
mySurface(nullptr), mySurface(nullptr),
mySrcR({0, 0, 0, 0}),
myDstR({0, 0, 0, 0}),
myIsVisible(true), myIsVisible(true),
myIsStatic(false) myIsStatic(false),
mySrcGUIR({0, 0, 0, 0}),
myDstGUIR({0, 0, 0, 0})
{ {
createSurface(width, height, data); createSurface(width, height, data);
} }

View File

@ -21,6 +21,8 @@
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BilinearBlitter::BilinearBlitter(FrameBufferSDL2& fb, bool interpolate) : BilinearBlitter::BilinearBlitter(FrameBufferSDL2& fb, bool interpolate) :
mySrcRect({0, 0, 0, 0}),
myDstRect({0, 0, 0, 0}),
myTexture(nullptr), myTexture(nullptr),
mySecondaryTexture(nullptr), mySecondaryTexture(nullptr),
myInterpolate(interpolate), myInterpolate(interpolate),

View File

@ -21,6 +21,8 @@
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
QisBlitter::QisBlitter(FrameBufferSDL2& fb) : QisBlitter::QisBlitter(FrameBufferSDL2& fb) :
mySrcRect({0, 0, 0, 0}),
myDstRect({0, 0, 0, 0}),
mySrcTexture(nullptr), mySrcTexture(nullptr),
myIntermediateTexture(nullptr), myIntermediateTexture(nullptr),
mySecondaryIntermedateTexture(nullptr), mySecondaryIntermedateTexture(nullptr),