зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1466775 - [Wayland] Configure WebRender on X11, r=jhorak
MozReview-Commit-ID: ChXp7m5XeOI --HG-- extra : rebase_source : 3b00ba11aad25be75e33138fefa4285b1b19ae21
This commit is contained in:
Родитель
ac099e5073
Коммит
5753c81b38
|
@ -3713,7 +3713,7 @@ nsWindow::Create(nsIWidget* aParent,
|
|||
if (Preferences::GetBool("mozilla.widget.use-argb-visuals", false))
|
||||
useAlphaVisual = true;
|
||||
|
||||
#ifdef GL_PROVIDER_GLX
|
||||
#ifdef MOZ_X11
|
||||
// Ensure gfxPlatform is initialized, since that is what initializes
|
||||
// gfxVars, used below.
|
||||
Unused << gfxPlatform::GetPlatform();
|
||||
|
@ -3740,7 +3740,7 @@ nsWindow::Create(nsIWidget* aParent,
|
|||
visualId));
|
||||
}
|
||||
} else
|
||||
#endif // GL_PROVIDER_GLX
|
||||
#endif // MOZ_X11
|
||||
{
|
||||
if (useAlphaVisual) {
|
||||
GdkScreen *screen = gtk_widget_get_screen(mShell);
|
||||
|
|
Загрузка…
Ссылка в новой задаче