using texRtFormat in android and desktop version.

This commit is contained in:
rachytski 2012-02-14 17:03:23 +04:00 committed by Alex Zolotarev
parent a02650b0e6
commit 0d6de239e5
2 changed files with 2 additions and 0 deletions

View file

@ -99,6 +99,7 @@ namespace android
rmParams.m_videoMemoryLimit = 30 * 1024 * 1024;
rmParams.m_rtFormat = yg::Data8Bpp;
rmParams.m_texFormat = yg::Data4Bpp;
rmParams.m_texRtFormat = yg::Data4Bpp;
try
{

View file

@ -218,6 +218,7 @@ namespace qt
yg::ResourceManager::Params rmParams;
rmParams.m_rtFormat = yg::Data8Bpp;
rmParams.m_texFormat = yg::Data8Bpp;
rmParams.m_texRtFormat = yg::Data8Bpp;
rmParams.m_videoMemoryLimit = GetPlatform().VideoMemoryLimit();
try