diff options
author | Martin Stransky <stransky@redhat.com> | 2018-05-25 12:50:35 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-05-25 12:50:35 +0200 |
commit | dd0eb4d9d89c3b796044c7fac8397c8713c5cdeb (patch) | |
tree | a784b13aa5a0fb07ed8cc7c7f50ecdb3650c2e12 /rb244012.patch | |
parent | Update to 60.0.1 (diff) | |
download | librewolf-fedora-ff-dd0eb4d9d89c3b796044c7fac8397c8713c5cdeb.tar.gz librewolf-fedora-ff-dd0eb4d9d89c3b796044c7fac8397c8713c5cdeb.tar.bz2 librewolf-fedora-ff-dd0eb4d9d89c3b796044c7fac8397c8713c5cdeb.zip |
Enable Wayland backend
Diffstat (limited to 'rb244012.patch')
-rw-r--r-- | rb244012.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/rb244012.patch b/rb244012.patch new file mode 100644 index 0000000..a096b0e --- /dev/null +++ b/rb244012.patch @@ -0,0 +1,44 @@ +diff --git a/gfx/gl/GLContextProvider.h b/gfx/gl/GLContextProvider.h +--- a/gfx/gl/GLContextProvider.h ++++ b/gfx/gl/GLContextProvider.h +@@ -36,30 +36,38 @@ namespace gl { + + #ifdef XP_MACOSX + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderCGL + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderCGL + #endif + +-#if defined(MOZ_X11) && !defined(MOZ_WAYLAND) ++#if defined(MOZ_X11) + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderGLX + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderGLX + #endif + + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderEGL + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #ifndef GL_CONTEXT_PROVIDER_DEFAULT + #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderEGL + #endif + ++#if defined(MOZ_WAYLAND) ++ #define GL_CONTEXT_PROVIDER_NAME GLContextProviderWayland ++ #include "GLContextProviderImpl.h" ++ #undef GL_CONTEXT_PROVIDER_NAME ++ #undef GL_CONTEXT_PROVIDER_DEFAULT ++ #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderWayland ++#endif ++ + #if defined(MOZ_WIDGET_UIKIT) + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderEAGL + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #ifndef GL_CONTEXT_PROVIDER_DEFAULT + #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderEAGL + #endif + #endif + |