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>
This commit is contained in:
parent
d104d510ea
commit
a5c760a325
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user