faster sample format conversion
don't render in all formats when converting
This commit is contained in:
parent
80fdc706d1
commit
0ddbc56b94
4 changed files with 8 additions and 7 deletions
|
|
@ -498,7 +498,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
if (ImGui::Selectable(sampleDepths[i])) {
|
||||
sample->prepareUndo(true);
|
||||
e->lockEngine([this,sample,i]() {
|
||||
sample->convert((DivSampleDepth)i);
|
||||
sample->convert((DivSampleDepth)i,e->getSampleFormatMask());
|
||||
e->renderSamples(curSample);
|
||||
});
|
||||
updateSampleTex=true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue