Made particles safer on non-GL platforms