diff --git a/es-core/src/resources/TextureResource.cpp b/es-core/src/resources/TextureResource.cpp index c1f8afa13..8b1990100 100644 --- a/es-core/src/resources/TextureResource.cpp +++ b/es-core/src/resources/TextureResource.cpp @@ -210,9 +210,6 @@ void TextureResource::rasterizeAt(float width, float height) data->setSourceSize(static_cast(width), static_cast(height)); if (mForceLoad || mTextureData != nullptr) data->load(); - - mSize.x = static_cast(width); - mSize.y = static_cast(height); } size_t TextureResource::getTotalMemUsage()