mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Default to 0,0 picked location so the pixel context doesn't flicker
This commit is contained in:
@@ -25,8 +25,6 @@ TextureViewer::TextureViewer(Core *core, QWidget *parent)
|
||||
ui->render->SetOutput(m_Core, NULL);
|
||||
ui->pixelContext->SetOutput(m_Core, NULL);
|
||||
|
||||
m_PickedPoint = QPoint(-1, -1);
|
||||
|
||||
memset(&m_TexDisplay, 0, sizeof(m_TexDisplay));
|
||||
m_TexDisplay.sampleIdx = ~0U;
|
||||
m_TexDisplay.linearDisplayAsGamma = true;
|
||||
|
||||
Reference in New Issue
Block a user