libobs-d3d11: Use discrete function to get shared handle
Allows us to reacquire the shared handle if the texture is rebuilt.
This commit is contained in:
@@ -369,6 +369,7 @@ struct gs_texture_2d : gs_texture {
|
||||
void InitResourceView();
|
||||
void InitRenderTargets();
|
||||
void BackupTexture(const uint8_t **data);
|
||||
void GetSharedHandle(IDXGIResource *dxgi_res);
|
||||
|
||||
void RebuildSharedTextureFallback();
|
||||
void Rebuild(ID3D11Device *dev);
|
||||
|
Reference in New Issue
Block a user