mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones
This commit is contained in:
parent
3d7cc44fd1
commit
59a3487ccc
@ -2606,7 +2606,8 @@ GLContextProviderEGL::GetGlobalContext(const ContextFlags)
|
||||
{
|
||||
// Don't want a global context on Android as 1) share groups across 2 threads fail on many Tegra drivers (bug 759225)
|
||||
// and 2) some mobile devices have a very strict limit on global number of GL contexts (bug 754257)
|
||||
#ifdef MOZ_ANDROID_OMTC
|
||||
// and 3) each EGL context eats 750k on B2G (bug 813783)
|
||||
#ifdef ANDROID
|
||||
return nullptr;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user