mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 15:20:58 +00:00
Don't try to view buffers with ViewTexture
This commit is contained in:
@@ -1716,7 +1716,7 @@ void TextureViewer::ViewTexture(ResourceId ID, bool focus)
|
||||
{
|
||||
BufferViewer *viewer = new BufferViewer(m_Ctx, false, m_Ctx.mainWindow());
|
||||
|
||||
viewer->ViewTexture(0, 0, ID);
|
||||
viewer->ViewBuffer(0, 0, ID);
|
||||
|
||||
m_Ctx.setupDockWindow(viewer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user