Open

Description
VideoXShm::clear is a bit buggy. inputWidth and inputHeight aren't set until after the first call to VideoXShm::output(), so the buffer doesn't get its alpha bits set, and the result is you see through the bsnes window onto the desktop.
https://github.com/bsnes-emu/bsnes/blob/master/ruby/video/xshm.cpp#L38
My proposal is to use the acquire function inside clear to ensure the input buffer size is non-zero, then fill that array.
If you guys approve, I'll submit a patch. Otherwise I'll leave it to you all.