OSGHUD: convert flags from svg to png images
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8978 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 85d6e0cc339618ada52c6c069215f21c8e109e47 Former-commit-id: 1eb8dc508871c87f0fc6080fbc910fa49d3a0109
This commit is contained in:
parent
2beffdc810
commit
d66edd8690
1 changed files with 5 additions and 1 deletions
|
@ -2257,7 +2257,11 @@ void SDHUD::Refresh(tSituation *s, const SDFrameInfo* frameInfo,
|
|||
return std::tolower(c);
|
||||
});
|
||||
temp.str("");
|
||||
temp << "data/img/flags/4x3/" << nationname.c_str() <<".svg";
|
||||
std::string uk = "uk";
|
||||
if (nationname == uk){
|
||||
nationname = "gb";
|
||||
}
|
||||
temp << "data/img/flags/4x3png/" << nationname.c_str() <<".png";
|
||||
changeImageTexture(hudImgElements["driverinfo-flag"], temp.str());
|
||||
|
||||
//edithud
|
||||
|
|
Loading…
Reference in a new issue