Fix my DX11 texture-related failure..
Fixes issue 6026. (probably)
This commit is contained in:
parent
6e6d8af6dd
commit
b7fae1febb
|
@ -99,6 +99,9 @@ TextureCache::TCacheEntryBase* TextureCache::CreateTexture(unsigned int width,
|
||||||
|
|
||||||
SAFE_RELEASE(pTexture);
|
SAFE_RELEASE(pTexture);
|
||||||
|
|
||||||
|
if (tex_levels != 1)
|
||||||
|
entry->Load(width, height, expanded_width, 0);
|
||||||
|
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue