Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard

This commit is contained in:
Oleg Romashin 2012-03-24 18:08:06 -04:00
Родитель 86a9ea89a7
Коммит e2439e77a8
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -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.