cross-platform graphics compatibility