Display.wasResized() should now work correctly when using Display.setParent()

This commit is contained in:
kappa1 2012-05-13 18:01:12 +00:00
parent afaf86df66
commit f74af79c19
1 changed files with 3 additions and 0 deletions

View File

@ -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 )