Fix minor warning in Xcode.

This commit is contained in:
Stephen Anthony 2019-12-20 10:23:54 -03:30
parent 578c19a588
commit d89e658d68
2 changed files with 9 additions and 6 deletions

View File

@ -21,16 +21,17 @@
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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),
mySrcRect({0, 0, 0, 0}),
myDstRect({0, 0, 0, 0}),
myInterpolate(interpolate), myInterpolate(interpolate),
myTexturesAreAllocated(false), myTexturesAreAllocated(false),
myRecreateTextures(false), myRecreateTextures(false),
myStaticData(nullptr), myStaticData(nullptr),
myFB(fb) myFB(fb)
{} {
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BilinearBlitter::~BilinearBlitter() BilinearBlitter::~BilinearBlitter()

View File

@ -21,16 +21,18 @@
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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),
mySrcRect({0, 0, 0, 0}),
myIntermediateRect({0, 0, 0, 0}),
myDstRect({0, 0, 0, 0}),
myTexturesAreAllocated(false), myTexturesAreAllocated(false),
myRecreateTextures(false), myRecreateTextures(false),
myStaticData(nullptr), myStaticData(nullptr),
myFB(fb) myFB(fb)
{} {
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
QisBlitter::~QisBlitter() QisBlitter::~QisBlitter()