[Bug 348] using DGA with directx program crashes with X error "BadColor"