fix d3d11 renderer not working properly when first joining a server.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4731 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cd690a165a
commit
8c951e13fc
1 changed files with 3 additions and 0 deletions
|
@ -3329,7 +3329,10 @@ void Sh_CheckSettings(void)
|
|||
case QR_DIRECT3D11:
|
||||
canshadowless = true; //all feature levels
|
||||
if (D3D11_BeginShadowMap(0, SHADOWMAP_SIZE*3, SHADOWMAP_SIZE*2))
|
||||
{
|
||||
D3D11_EndShadowMap();
|
||||
cansmap = true; //tends to not work properly until feature level 10 for one error or another.
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue