mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Windows) Fixed two compiler warnings.
This commit is contained in:
parent
19147eee66
commit
0021bee104
|
@ -152,7 +152,8 @@ void LottieComponent::render(const glm::mat4& parentTrans)
|
||||||
|
|
||||||
glm::mat4 trans{parentTrans * getTransform()};
|
glm::mat4 trans{parentTrans * getTransform()};
|
||||||
|
|
||||||
mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), mSize.x, mSize.y);
|
mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), static_cast<size_t>(mSize.x),
|
||||||
|
static_cast<size_t>(mSize.y));
|
||||||
mTexture->bind();
|
mTexture->bind();
|
||||||
|
|
||||||
if (!mSkipFrame)
|
if (!mSkipFrame)
|
||||||
|
@ -181,4 +182,4 @@ void LottieComponent::render(const glm::mat4& parentTrans)
|
||||||
.count()
|
.count()
|
||||||
<< " ms";
|
<< " ms";
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
Loading…
Reference in a new issue