mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +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()
|
||||
{
|
||||
if (mTileWidth == 0.0f && mTileHeight == 0.0f) {
|
||||
mTileWidth = mTexture->getSize().x;
|
||||
mTileHeight = mTexture->getSize().y;
|
||||
mTileWidth = static_cast<float>(mTexture->getSize().x);
|
||||
mTileHeight = static_cast<float>(mTexture->getSize().y);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue