Check for return status of eglSwapBuffers