mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
Reversed a previous change that caused multiple texturing issues.
This commit is contained in:
parent
190b3ba054
commit
2f09c21d3f
|
@ -210,9 +210,6 @@ void TextureResource::rasterizeAt(float width, float height)
|
||||||
data->setSourceSize(static_cast<float>(width), static_cast<float>(height));
|
data->setSourceSize(static_cast<float>(width), static_cast<float>(height));
|
||||||
if (mForceLoad || mTextureData != nullptr)
|
if (mForceLoad || mTextureData != nullptr)
|
||||||
data->load();
|
data->load();
|
||||||
|
|
||||||
mSize.x = static_cast<int>(width);
|
|
||||||
mSize.y = static_cast<int>(height);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t TextureResource::getTotalMemUsage()
|
size_t TextureResource::getTotalMemUsage()
|
||||||
|
|
Loading…
Reference in a new issue