Cocoa: add missing return statement
Rev-By: sroedal
This commit is contained in:
parent
14a1d6d3c7
commit
c477fa3e2c
@ -53,8 +53,7 @@
|
||||
void *QCocoaNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window)
|
||||
{
|
||||
if (resourceString == "nsopenglcontext") {
|
||||
|
||||
static_cast<QCocoaWindow *>(window->handle())->currentContext()->nsOpenGLContext();
|
||||
return static_cast<QCocoaWindow *>(window->handle())->currentContext()->nsOpenGLContext();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user