diff options
| author | Mike Krus <mike.krus@kdab.com> | 2015-06-23 22:37:10 +0100 |
|---|---|---|
| committer | Mike Krus <mike.krus@kdab.com> | 2015-06-26 06:54:49 +0000 |
| commit | 5757b8c516ad0d613739b222687583bca914a981 (patch) | |
| tree | 756d87e9ecad9253c276d2915fa7dcb3370ce63f /src/widgets/doc/snippets/code | |
| parent | 3de7a966f12037d5b6e8955297b87fb073196c3f (diff) | |
Return format as specified in original QWindow
Overload QPlatformWindow::format() to return the desired format
defined in the QWindow. This is required for windows that define
specific surface formats (such as those used in Qt3d which require
a depth buffer).
This is similar to what is done in the OS X Cocoa QPA plugin.
Change-Id: I7661a2a9c4e13603d03d3a5be10d000f73c712e6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
