mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Avoid unnecessary re-layouts when populating thumbnails
This commit is contained in:
@@ -3013,6 +3013,9 @@ void TextureViewer::OnEventChanged(uint32_t eventId)
|
||||
int outIndex = 0;
|
||||
int inIndex = 0;
|
||||
|
||||
ui->outputThumbs->setUpdatesEnabled(false);
|
||||
ui->inputThumbs->setUpdatesEnabled(false);
|
||||
|
||||
bool copy = false, clear = false, compute = false;
|
||||
Following::GetDrawContext(m_Ctx, copy, clear, compute);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user