diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-09-05 14:38:28 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-09-06 12:42:06 +0000 |
commit | 5ed48895b6974814fb7ac7ec42a6fc8ee935be44 (patch) | |
tree | 9916e0ce8b87ff1c95e7195d7501c45407f57f10 /src | |
parent | 367adc10de1d6c1f02546a543ddfd50471a1b03d (diff) |
tst_qglthreads::swapInThread(): Acquire context before resizing widget
Otherwise the QGLWidget's context may be owned by and used by the swap
thread when the resize happens on the main thread.
Change-Id: Id415747572e6b988924618b1df0efdee5fcb1805
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions