mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
(Windows) Fixed two MSVC compiler warnings.
This commit is contained in:
parent
1c79723894
commit
ee80792e0f
|
@ -211,8 +211,8 @@ void TextureResource::rasterizeAt(float width, float height)
|
|||
if (mForceLoad || mTextureData != nullptr)
|
||||
data->load();
|
||||
|
||||
mSize.x = width;
|
||||
mSize.y = height;
|
||||
mSize.x = static_cast<int>(width);
|
||||
mSize.y = static_cast<int>(height);
|
||||
}
|
||||
|
||||
size_t TextureResource::getTotalMemUsage()
|
||||
|
|
Loading…
Reference in a new issue