mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow
--HG-- extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
This commit is contained in:
parent
65108e44ae
commit
ba8ad496f4
@ -430,9 +430,6 @@ GLContextProviderCGL::CreateForWindow(nsIWidget *aWidget)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
NSView *childView = (NSView *)aWidget->GetNativeData(NS_NATIVE_WIDGET);
|
||||
[context setView:childView];
|
||||
|
||||
// make the context transparent
|
||||
nsRefPtr<GLContextCGL> glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGB24),
|
||||
shareContext,
|
||||
|
Loading…
Reference in New Issue
Block a user