mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
This commit is contained in:
parent
05a2547e1b
commit
fc68786498
@ -603,7 +603,6 @@ GLContext::CanUploadNonPowerOfTwo()
|
||||
bool
|
||||
GLContext::WantsSmallTiles()
|
||||
{
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
// We must use small tiles for good performance if we can't use
|
||||
// glTexSubImage2D() for some reason.
|
||||
if (!CanUploadSubTextures())
|
||||
@ -616,9 +615,6 @@ GLContext::WantsSmallTiles()
|
||||
// Don't use small tiles otherwise. (If we implement incremental texture upload,
|
||||
// then we will want to revisit this.)
|
||||
return false;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Common code for checking for both GL extensions and GLX extensions.
|
||||
|
Loading…
Reference in New Issue
Block a user