neteja tidy a source/core i encamina Texture::loadFromFile pel ResourceHelper

This commit is contained in:
JailDesigner committed 2026-05-14 20:22:54 +02:00
1 parent 88fa3f296f
commit 1912200b21
40 files changed
+699 -578

No files matched your search

@@ -762,7 +762,7 @@ namespace Rendering {
}
// Copia directa — el upscale lo hace la GPU en el primer render pass
std::memcpy(mapped, pixels, static_cast<size_t>(width * height * 4));
std::memcpy(mapped, pixels, static_cast<size_t>(width) * height * 4);
SDL_UnmapGPUTransferBuffer(device_, upload_buffer_);
}