protected void viewportChanged ( int pixelWidth , int pixelHeight ) { viewPixelWidth = pixelWidth ; viewPixelHeight = pixelHeight ; viewSizeM . width = scale . invScaled ( pixelWidth ) ; viewSizeM . height = scale . invScaled ( pixelHeight ) ; plat . log ( ) . info ( "viewPortChanged " + pixelWidth + "x" + pixelHeight + " / " + scale . factor + " -> " + viewSize ) ; }
Informs the graphics system that the main framebuffer size has changed . The supplied size should be in physical pixels .