parent
14a1d6d3c7
commit
c477fa3e2c
|
|
@ -53,8 +53,7 @@
|
||||||
void *QCocoaNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window)
|
void *QCocoaNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window)
|
||||||
{
|
{
|
||||||
if (resourceString == "nsopenglcontext") {
|
if (resourceString == "nsopenglcontext") {
|
||||||
|
return static_cast<QCocoaWindow *>(window->handle())->currentContext()->nsOpenGLContext();
|
||||||
static_cast<QCocoaWindow *>(window->handle())->currentContext()->nsOpenGLContext();
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue