[host] dxgi: remove no longer used member for copy backends

This commit is contained in:
Geoffrey McRae 2023-11-07 20:42:25 +11:00
parent 54bd08c3cb
commit c2e3c37bab
2 changed files with 1 additions and 8 deletions

View File

@ -797,6 +797,7 @@ static bool dxgi_deinit(void)
continue;
this->backend->unmapTexture(i);
tex->map = NULL;
tex->state = TEXTURE_STATE_UNUSED;
}
if (this->dup && *this->dup)
@ -813,12 +814,6 @@ static bool dxgi_deinit(void)
this->backend = NULL;
}
for (int i = 0; i < this->maxTextures; ++i)
{
this->texture[i].state = TEXTURE_STATE_UNUSED;
this->texture[i].impl = NULL;
}
LG_LOCK_FREE(this->deviceContextLock);
if (this->desktop)

View File

@ -57,8 +57,6 @@ typedef struct Texture
// post processing
Vector pp;
void * impl;
}
Texture;