Use requested window format

Otherwise we end up with errors like this:

  QEGLPlatformContext::makeCurrent: eglError: 3009, this: 0x4b5c58

Change-Id: I6c44ee67c9049469088c5848df463a21e2bd2c66