Set eTextureCreate_SwapBuffer property properly

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