diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-06 16:58:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-06 20:06:44 +0200 |
commit | a5c760a325bc4c1a3294c9533091eeae8a123a1d (patch) | |
tree | bf55a25ff0ea95acc8f841b5d21a2ae2f24df18f /src/gui/platform/macos/qcocoanativeinterface.mm | |
parent | d104d510ea6c4f3a24f5d6105930d57c6aee0cb6 (diff) |
Remove duplicated declaration of QCocoaGLContext native interface
The interface is already declared in qopenglcontext_platform.h,
so the inclusion in qcocoanativeinterface.mm was unintentional.
Change-Id: Ic6d4a86527d03787efd858c1a6568933be8a4327
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/platform/macos/qcocoanativeinterface.mm')
-rw-r--r-- | src/gui/platform/macos/qcocoanativeinterface.mm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/platform/macos/qcocoanativeinterface.mm b/src/gui/platform/macos/qcocoanativeinterface.mm index f0c18a1bde..ef8d091e47 100644 --- a/src/gui/platform/macos/qcocoanativeinterface.mm +++ b/src/gui/platform/macos/qcocoanativeinterface.mm @@ -104,13 +104,6 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaMenuBar); \return the underlying NSOpenGLContext. */ -struct Q_GUI_EXPORT QCocoaGLContext -{ - QT_DECLARE_NATIVE_INTERFACE(QCocoaGLContext) - static QOpenGLContext *fromNative(QT_IGNORE_DEPRECATIONS(NSOpenGLContext) *, QOpenGLContext *shareContext = nullptr); - virtual QT_IGNORE_DEPRECATIONS(NSOpenGLContext) *nativeContext() const = 0; -}; - QT_DEFINE_NATIVE_INTERFACE(QCocoaGLContext, QOpenGLContext); QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaGLIntegration); |