mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 12:05:39 +00:00
(Windows) Fixed an MSVC compiler warning.
This commit is contained in:
parent
487cbd84bc
commit
feef706ba4
|
@ -118,8 +118,8 @@ void ImageComponent::resize(bool rasterize)
|
||||||
void ImageComponent::setTileAxes()
|
void ImageComponent::setTileAxes()
|
||||||
{
|
{
|
||||||
if (mTileWidth == 0.0f && mTileHeight == 0.0f) {
|
if (mTileWidth == 0.0f && mTileHeight == 0.0f) {
|
||||||
mTileWidth = mTexture->getSize().x;
|
mTileWidth = static_cast<float>(mTexture->getSize().x);
|
||||||
mTileHeight = mTexture->getSize().y;
|
mTileHeight = static_cast<float>(mTexture->getSize().y);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue