renderGL1: more texture fixes
This commit is contained in:
parent
20e7c4633d
commit
a793f286c5
8 changed files with 38 additions and 11 deletions
|
|
@ -1589,7 +1589,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
updateSampleTex=false;
|
||||
}
|
||||
|
||||
ImGui::ImageButton(rend->getTextureID(sampleTex),avail,ImVec2(0,0),ImVec2(1,1),0);
|
||||
ImGui::ImageButton(rend->getTextureID(sampleTex),avail,ImVec2(0,0),ImVec2(rend->getTextureU(sampleTex),rend->getTextureV(sampleTex)),0);
|
||||
|
||||
ImVec2 rectMin=ImGui::GetItemRectMin();
|
||||
ImVec2 rectMax=ImGui::GetItemRectMax();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue