Display.wasResized() should now work correctly when using Display.setParent()
This commit is contained in:
parent
afaf86df66
commit
f74af79c19
|
@ -656,6 +656,9 @@ public final class Display {
|
|||
if ( parent_resized ) {
|
||||
reshape();
|
||||
parent_resized = false;
|
||||
window_resized = true;
|
||||
width = parent.getWidth();
|
||||
height = parent.getHeight();
|
||||
}
|
||||
|
||||
if ( processMessages )
|
||||
|
|
Loading…
Reference in New Issue