diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-01 16:02:46 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-04 19:59:38 +0000 |
commit | c5a5d270e4b1f2de8b1628dfb13f5aa457e980b7 (patch) | |
tree | 64e4066e677b6bf529ae5b6e8f6e780b49f88a1d /header.LGPL3-COMM | |
parent | 80d536e9aa2966f2fb40a63f7d5d087e0903ad94 (diff) |
macOS: Modernize and clean up QCocoaGLContext::updateSurfaceFormat()
The updateFormatFromContext function that read GL state has been
merged into updateSurfaceFormat(), we're using AppKit classes
and functions instead of Core GL, and the logic has been simplified
by using attribute/parameter helpers.
Change-Id: Iec6717f457a0b4dbc8e34c3e15fcbcc42895b23e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions