mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 04:30:38 +00:00
Add custom shader handling to texture viewer
This commit is contained in:
1 parent
bc2ef77405
commit
fbae19f622
6 files changed
+366
-15
No files matched your search
@@ -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