GalaEngine icon indicating copy to clipboard operation
GalaEngine copied to clipboard

`GalaEngine::TileLayer`: Resizing does not update the texture size.

Open colleen05 opened this issue 2 years ago • 0 comments

Current Behaviour Resizing a TileLayer does not update the texture's size, causing artifacts and corrupted graphics when rendering.

Expected Behaviour The texture should be properly resized with the layer.

Comment An approach I took in a demo I made in GalaEngine was to simply unload and reload the texture from the temporary image upon TileLayer::Render(). This works, but another solution may be more readable and logical - such as resizing the texture upon the layer being resized.

colleen05 avatar May 17 '23 19:05 colleen05