|
Video Driver crashes when user vigorously resizes NEWT
package com.gusarias.tutorial.opengl;
import com.jogamp.newt.event.*;
import javax.media.opengl.*;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.util.Animator;
public class TutorialCore {
static void run(GLEventListener glel) {
GLProfile profile = GLProfile.getMaxProgrammable(true);
GLCapabilities capabilities = new GLCapabilities(profile);
final GLWindow window = GLWindow.create(capabilities);
window.setTitle("Tutorial 02");
window.setSize(320, 240);
window.setVisible(true);
final Animator animator = new Animator(window);
animator.start();
window.addWindowListener(new WindowAdapter() {
@Override
public void windowDestroyed(WindowEvent e) { animator.stop(); }
});
}
}
My computer is the infamous AMD vision A8 with AMD RADEON HD 7640G, Windows 7x64
|