mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Fix wrong FBO attachment being specified for readback
This commit is contained in:
@@ -326,7 +326,7 @@ void GLReplay::GetOutputWindowData(uint64_t id, bytebuf &retData)
|
||||
MakeCurrentReplayContext(m_DebugCtx);
|
||||
|
||||
m_pDriver->glBindFramebuffer(eGL_READ_FRAMEBUFFER, outw.BlitData.windowFBO);
|
||||
m_pDriver->glReadBuffer(eGL_BACK);
|
||||
m_pDriver->glReadBuffer(eGL_COLOR_ATTACHMENT0);
|
||||
m_pDriver->glBindBuffer(eGL_PIXEL_PACK_BUFFER, 0);
|
||||
m_pDriver->glPixelStorei(eGL_PACK_ROW_LENGTH, 0);
|
||||
m_pDriver->glPixelStorei(eGL_PACK_SKIP_ROWS, 0);
|
||||
|
||||
Reference in New Issue
Block a user