Fixes for openGL on iOS to use multisampling.