compatibilty idea, migrate from directx to SDL