mirror of https://github.com/mgba-emu/mgba.git
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