diff --git a/src/graphics/ui/elements/Image.cpp b/src/graphics/ui/elements/Image.cpp index 49eb3d874..d64f3be0b 100644 --- a/src/graphics/ui/elements/Image.cpp +++ b/src/graphics/ui/elements/Image.cpp @@ -34,8 +34,8 @@ void Image::draw(const DrawContext& pctx, const Assets& assets) { auto textureRegion = refreshTexture(assets); - batch->setRegion(textureRegion.region); batch->texture(textureRegion.texture); + batch->setRegion(textureRegion.region); batch->rect( pos.x, pos.y,