ddraw: Just use a static variable for scanline emulation.