Reversed a previous change that caused multiple texturing issues.

This commit is contained in:
Leon Styhre 2021-10-30 17:05:04 +02:00
parent 190b3ba054
commit 2f09c21d3f

View file

@ -210,9 +210,6 @@ void TextureResource::rasterizeAt(float width, float height)
data->setSourceSize(static_cast<float>(width), static_cast<float>(height));
if (mForceLoad || mTextureData != nullptr)
data->load();
mSize.x = static_cast<int>(width);
mSize.y = static_cast<int>(height);
}
size_t TextureResource::getTotalMemUsage()