mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 14:53:01 +00:00
some smaller fixes
This was SVN commit r293.
This commit is contained in:
@@ -542,7 +542,7 @@ bool CRenderer::LoadTexture(CTexture* texture)
|
||||
return h==0xfffffff ? true : false;
|
||||
} else {
|
||||
h=tex_load(texture->GetName());
|
||||
if (!h) {
|
||||
if (h <= 0) {
|
||||
texture->SetHandle(0xffffffff);
|
||||
return false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user