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
|
|
@ -1223,7 +1223,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
updateSampleTex=false;
|
||||
}
|
||||
|
||||
ImGui::ImageButton(sampleTex,avail,ImVec2(0,0),ImVec2(1,1),0);
|
||||
ImGui::ImageButton(rend->getTextureID(sampleTex),avail,ImVec2(0,0),ImVec2(1,1),0);
|
||||
|
||||
ImVec2 rectMin=ImGui::GetItemRectMin();
|
||||
ImVec2 rectMax=ImGui::GetItemRectMax();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue