Fixes typo in EGL code (thanks jmcfarlane!)