Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void display(GLAutoDrawable glautodrawable) {
- GL gl = glautodrawable.getGL();
- int newWidth = glautodrawable.getWidth();
- int newHeight = glautodrawable.getHeight();
- System.out.println(newWidth + " " + newHeight);
- try {
- render(gl, newWidth, newHeight);
- } catch (IOException ex) {
- Logger.getLogger(dataModelGLEventListener.class
- .getName()).log(Level.SEVERE, null, ex);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement