diff options
author | Martin Stransky <stransky@redhat.com> | 2018-01-31 09:19:11 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2018-01-31 09:19:11 +0100 |
commit | a0558c67a07d7b28fcf90e2da11148ff33fb0310 (patch) | |
tree | ccf9709bae975f42e0aed8e415e04f5bd972754b /mozilla-1433081.patch | |
parent | Restricted to intel arches (diff) | |
download | librewolf-fedora-ff-a0558c67a07d7b28fcf90e2da11148ff33fb0310.tar.gz librewolf-fedora-ff-a0558c67a07d7b28fcf90e2da11148ff33fb0310.tar.bz2 librewolf-fedora-ff-a0558c67a07d7b28fcf90e2da11148ff33fb0310.zip |
Added X11 launcher
Diffstat (limited to 'mozilla-1433081.patch')
-rw-r--r-- | mozilla-1433081.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/mozilla-1433081.patch b/mozilla-1433081.patch new file mode 100644 index 0000000..6677ff0 --- /dev/null +++ b/mozilla-1433081.patch @@ -0,0 +1,51 @@ +diff --git a/gfx/gl/GLContextProvider.h b/gfx/gl/GLContextProvider.h +--- a/gfx/gl/GLContextProvider.h ++++ b/gfx/gl/GLContextProvider.h +@@ -21,16 +21,18 @@ namespace gl { + + #define IN_GL_CONTEXT_PROVIDER_H + + // Null is always there + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderNull + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + ++#if !defined(MOZ_GL_PROVIDER) ++ + #ifdef XP_WIN + #define GL_CONTEXT_PROVIDER_NAME GLContextProviderWGL + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderWGL + #define DEFAULT_IMPL WGL + #endif + +@@ -59,23 +61,27 @@ namespace gl { + #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 + ++#else //defined(MOZ_GL_PROVIDER) ++ + #ifdef MOZ_GL_PROVIDER + #define GL_CONTEXT_PROVIDER_NAME MOZ_GL_PROVIDER + #include "GLContextProviderImpl.h" + #undef GL_CONTEXT_PROVIDER_NAME + #define GL_CONTEXT_PROVIDER_DEFAULT MOZ_GL_PROVIDER + #endif + ++#endif ++ + #ifdef GL_CONTEXT_PROVIDER_DEFAULT + typedef GL_CONTEXT_PROVIDER_DEFAULT GLContextProvider; + #else + typedef GLContextProviderNull GLContextProvider; + #endif + + #undef IN_GL_CONTEXT_PROVIDER_H + + |