mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out bug 596303 for causing Tp regressions with OpenGL. a=backout
This commit is contained in:
parent
c077f30804
commit
80e6919bfc
@ -343,10 +343,7 @@ GLContextProviderCGL::CreateForWindow(nsIWidget *aWidget)
|
|||||||
[context setView:childView];
|
[context setView:childView];
|
||||||
|
|
||||||
// make the context transparent
|
// make the context transparent
|
||||||
GLint opaque = 0;
|
nsRefPtr<GLContextCGL> glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGB24),
|
||||||
[context setValues:&opaque forParameter:NSOpenGLCPSurfaceOpacity];
|
|
||||||
|
|
||||||
nsRefPtr<GLContextCGL> glContext = new GLContextCGL(ContextFormat(ContextFormat::BasicRGBA32),
|
|
||||||
shareContext,
|
shareContext,
|
||||||
context);
|
context);
|
||||||
if (!glContext->Init()) {
|
if (!glContext->Init()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user