(Windows) Fixed two MSVC compiler warnings.

This commit is contained in:
Leon Styhre 2021-10-29 20:10:43 +02:00
parent 1c79723894
commit ee80792e0f

View file

@ -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()