From 2f09c21d3f97dc707f6544fa0b6942462467dd87 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 30 Oct 2021 17:05:04 +0200 Subject: [PATCH] Reversed a previous change that caused multiple texturing issues. --- es-core/src/resources/TextureResource.cpp | 3 --- 1 file changed, 3 deletions(-) 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()