How to enable direct draw acceleration