@Override
protected void invalidate(int defaultScreen) {
super.invalidate(defaultScreen);
// REMIND: this is a bit excessive, isD3DEnabledOnDevice will return
// false anyway because the device is invalid
d3dCaps = new D3DContextCaps(CAPS_EMPTY, null);
}