Guest User

Untitled

a guest
Aug 4th, 2013
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1.     if(Display.wasResized()) {
  2.             int newWidth = Math.max(Display.getWidth(), 1);
  3.             int newHeight = Math.max(Display.getHeight(), 1);
  4.             reshape(newWidth, newHeight);
  5.     }
Advertisement
Add Comment
Please, Sign In to add comment