mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] dxgi: remove no longer used member for copy backends
This commit is contained in:
parent
54bd08c3cb
commit
c2e3c37bab
@ -797,6 +797,7 @@ static bool dxgi_deinit(void)
|
|||||||
continue;
|
continue;
|
||||||
this->backend->unmapTexture(i);
|
this->backend->unmapTexture(i);
|
||||||
tex->map = NULL;
|
tex->map = NULL;
|
||||||
|
tex->state = TEXTURE_STATE_UNUSED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->dup && *this->dup)
|
if (this->dup && *this->dup)
|
||||||
@ -813,12 +814,6 @@ static bool dxgi_deinit(void)
|
|||||||
this->backend = NULL;
|
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);
|
LG_LOCK_FREE(this->deviceContextLock);
|
||||||
|
|
||||||
if (this->desktop)
|
if (this->desktop)
|
||||||
|
@ -57,8 +57,6 @@ typedef struct Texture
|
|||||||
|
|
||||||
// post processing
|
// post processing
|
||||||
Vector pp;
|
Vector pp;
|
||||||
|
|
||||||
void * impl;
|
|
||||||
}
|
}
|
||||||
Texture;
|
Texture;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user