mirror of
https://github.com/libretro/mgba.git
synced 2024-11-22 23:49:51 +00:00
Qt: Remember to set m_dims for the early return
This commit is contained in:
parent
e1ebaed508
commit
e5b14977ce
@ -647,6 +647,7 @@ void PainterGL::resizeContext() {
|
||||
mRectangle dims = {0, 0, size.width(), size.height()};
|
||||
m_backend->setLayerDimensions(m_backend, VIDEO_LAYER_IMAGE, &dims);
|
||||
recenterLayers();
|
||||
m_dims = size;
|
||||
}
|
||||
|
||||
void PainterGL::setMessagePainter(MessagePainter* messagePainter) {
|
||||
|
Loading…
Reference in New Issue
Block a user