Simplify platform checks in Graphics Context