mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 00:34:41 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -76,8 +76,7 @@ void CParticleEngine::DeleteInstance()
|
||||
bool CParticleEngine::InitParticleSystem()
|
||||
{
|
||||
// Texture Loading
|
||||
CTexture pTex;
|
||||
pTex.SetName("art/textures/particles/sprite.tga");
|
||||
CTexture pTex(L"art/textures/particles/sprite.tga");
|
||||
|
||||
int flags = 0;
|
||||
if(!(g_Renderer.LoadTexture(&pTex, flags)))
|
||||
|
||||
Reference in New Issue
Block a user