Set eTextureCreate_SwapBuffer property properly

This commit is contained in:
Baldur Karlsson
2014-06-19 16:04:34 +01:00
parent d568851994
commit fcebfb0183
+3
View File
@@ -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;