Fix glTextParameteri for IOS