Merge change 25303 into eclair

* changes:
  Add EGL call error checking.