diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-01-03 18:33:56 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-01-06 16:30:00 +0000 |
commit | 5da5586a96bbb80e46065b1da847126b9fdb558f (patch) | |
tree | 53e0d02913e97670df7e11edacee6e1a59dedaec /header.FDL | |
parent | 3c99bddb8469416b0042db6a39ec2e9d82b147a1 (diff) |
iOS: Ensure that QPlatformBackingStore can clean up textures in dtor
We are using QPlatformBackingStore::composeAndFlush, which allocates
textures on our behalf using the context that we pass in, so we need
to keep the context alive (and make it current) for the duration of
the QPlatformBackingStore destructor, otherwise we're leaking textures
every time a window (dialog e.g.) is closed.
Change-Id: I1450fa0ff7a170d13ec59920566e4401b50cd513
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions