mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add custom shader handling to texture viewer
This commit is contained in:
@@ -989,7 +989,7 @@ void ShaderViewer::on_save_clicked()
|
||||
for(ScintillaEdit *s : m_Scintillas)
|
||||
{
|
||||
QWidget *w = (QWidget *)s;
|
||||
files[w->property("filename").toString()] = QString::fromUtf8(s->getText(s->textLength()));
|
||||
files[w->property("filename").toString()] = QString::fromUtf8(s->getText(s->textLength() + 1));
|
||||
}
|
||||
m_SaveCallback(&m_Ctx, this, files);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user