GUI: add an OpenGL render backend
enable by adding `renderBackend=OpenGL` to furnace.cfg
This commit is contained in:
parent
55c2be8cec
commit
541985bd87
15 changed files with 603 additions and 301 deletions
|
|
@ -179,7 +179,7 @@ void FurnaceGUI::drawChanOsc() {
|
|||
|
||||
ImVec2 gradLeft=ImGui::GetCursorPos();
|
||||
ImVec2 gradSize=ImVec2(400.0f*dpiScale,400.0f*dpiScale);
|
||||
ImGui::Image(chanOscGradTex,gradSize);
|
||||
ImGui::Image(rend->getTextureID(chanOscGradTex),gradSize);
|
||||
ImVec2 gradLeftAbs=ImGui::GetItemRectMin();
|
||||
if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||
if (chanOscGrad.points.size()<32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue