diff --git a/src/common/FBSurfaceSDL2.cxx b/src/common/FBSurfaceSDL2.cxx index 3a3d92673..7f3ee70a7 100644 --- a/src/common/FBSurfaceSDL2.cxx +++ b/src/common/FBSurfaceSDL2.cxx @@ -47,8 +47,12 @@ FBSurfaceSDL2::FBSurfaceSDL2(FrameBufferSDL2& buffer, : myFB(buffer), myInterpolationMode(interpolation), mySurface(nullptr), + mySrcR({0, 0, 0, 0}), + myDstR({0, 0, 0, 0}), myIsVisible(true), - myIsStatic(false) + myIsStatic(false), + mySrcGUIR({0, 0, 0, 0}), + myDstGUIR({0, 0, 0, 0}) { createSurface(width, height, data); } diff --git a/src/common/sdl_blitter/BilinearBlitter.cxx b/src/common/sdl_blitter/BilinearBlitter.cxx index e92714159..689ce8170 100644 --- a/src/common/sdl_blitter/BilinearBlitter.cxx +++ b/src/common/sdl_blitter/BilinearBlitter.cxx @@ -21,6 +21,8 @@ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BilinearBlitter::BilinearBlitter(FrameBufferSDL2& fb, bool interpolate) : + mySrcRect({0, 0, 0, 0}), + myDstRect({0, 0, 0, 0}), myTexture(nullptr), mySecondaryTexture(nullptr), myInterpolate(interpolate), diff --git a/src/common/sdl_blitter/QisBlitter.cxx b/src/common/sdl_blitter/QisBlitter.cxx index b4c2a6750..69f3bfa5d 100644 --- a/src/common/sdl_blitter/QisBlitter.cxx +++ b/src/common/sdl_blitter/QisBlitter.cxx @@ -21,6 +21,8 @@ // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - QisBlitter::QisBlitter(FrameBufferSDL2& fb) : + mySrcRect({0, 0, 0, 0}), + myDstRect({0, 0, 0, 0}), mySrcTexture(nullptr), myIntermediateTexture(nullptr), mySecondaryIntermedateTexture(nullptr),