mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15:36 +00:00
Correct GFXD3D11TextureObject lock/unlock issues
This commit is contained in:
parent
58d2e30af7
commit
511efcf462
2 changed files with 10 additions and 28 deletions
|
|
@ -76,7 +76,7 @@ void GFXD3D11TextureManager::_innerCreateTexture( GFXD3D11TextureObject *retTex,
|
|||
else if ( retTex->mProfile->isSystemMemory() )
|
||||
{
|
||||
usage |= D3D11_USAGE_STAGING;
|
||||
cpuFlags |= D3D11_CPU_ACCESS_READ;
|
||||
cpuFlags |= D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue