forked from organicmaps/organicmaps
using texRtFormat in android and desktop version.
This commit is contained in:
parent
a02650b0e6
commit
0d6de239e5
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue