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
Gunnar Sletta 2011-08-29 10:48:03 +02:00 committed by Morten Johan Sørvig
parent e35a83b293
commit b5dba292c2
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}

View File

@ -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)