Get cocoa plugin compiling after OpenGL refactoring
Change-Id: I9de6de9e633c1355d45c0851c1df94e707b62927 Reviewed-on: http://codereview.qt.nokia.com/3721 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>bb10
parent
e35a83b293
commit
b5dba292c2
|
|
@ -115,7 +115,7 @@ QPlatformWindow *QCocoaIntegration::createPlatformWindow(QWindow *window) const
|
|||
return new QCocoaWindow(window);
|
||||
}
|
||||
|
||||
QPlatformOpenGLContext *QCocoaIntegration::createPlatformGLContext(QOpenGLContext *context) const
|
||||
QPlatformOpenGLContext *QCocoaIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const
|
||||
{
|
||||
return new QCocoaGLContext(context->format(), context->shareHandle());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@
|
|||
#include <qwindow.h>
|
||||
#include "qplatformwindow_qpa.h"
|
||||
#include "qsurfaceformat.h"
|
||||
#include "qplatformglcontext_qpa.h"
|
||||
#include "qguiglcontext_qpa.h"
|
||||
#include "qplatformopenglcontext_qpa.h"
|
||||
#include "qopenglcontext.h"
|
||||
#include <qdebug.h>
|
||||
|
||||
void *QCocoaNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window)
|
||||
|
|
|
|||
Loading…
Reference in New Issue