mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Set eTextureCreate_SwapBuffer property properly
This commit is contained in:
@@ -454,6 +454,9 @@ FetchTexture GLReplay::GetTexture(ResourceId id)
|
||||
tex.creationFlags = eTextureCreate_SRV;
|
||||
if(tex.format.compType == eCompType_Depth)
|
||||
tex.creationFlags |= eTextureCreate_DSV;
|
||||
if(res.resource.name == gl.m_FakeBB_Color)
|
||||
tex.creationFlags |= eTextureCreate_SwapBuffer;
|
||||
|
||||
GLNOTIMP("creationFlags are not calculated yet");
|
||||
|
||||
tex.byteSize = 0;
|
||||
|
||||
Reference in New Issue
Block a user