diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-10-30 08:27:30 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-10-30 21:50:09 +0000 |
commit | ccbb1b4409474d3a29e7314ac21ea84357423738 (patch) | |
tree | b9127011cace95e75c05f81e2614ded5eb5ef0b0 /src/winmain | |
parent | 5814cd9d27362db2b5cf06f3ddde3e8eafc5bcc8 (diff) |
winrt: store egldisplay globally
The QWinRTEGLContext must not store the display, as it might get
destroyed while other objects still need it, for instance QWinRTWindow
to delete the surface. Rather create a global static for creating the
display once and delete it when application lifecycle ends.
Change-Id: Id176b6934e1d1327f5bb70ad0d258de91f675041
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/winmain')
0 files changed, 0 insertions, 0 deletions