mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 23:13:01 +00:00
DirectX 9 backend, part 4
This commit is contained in:
parent
5a0ddbc212
commit
ba15db4292
2 changed files with 7 additions and 1 deletions
|
@ -99,7 +99,7 @@ FurnaceGUITexture* FurnaceGUIRenderDX9::createTexture(bool dynamic, int width, i
|
|||
return NULL;
|
||||
}
|
||||
|
||||
FurnaceDXTexture* ret=new FurnaceDXTexture;
|
||||
FurnaceDX9Texture* ret=new FurnaceDX9Texture;
|
||||
ret->width=width;
|
||||
ret->height=height;
|
||||
ret->widthReal=widthReal;
|
||||
|
|
|
@ -411,6 +411,12 @@ void FurnaceGUI::drawSettings() {
|
|||
settingsChanged=true;
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_RENDER_DX9
|
||||
if (ImGui::Selectable("DirectX 9",curRenderBackend=="DirectX 9")) {
|
||||
settings.renderBackend="DirectX 9";
|
||||
settingsChanged=true;
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_RENDER_METAL
|
||||
if (ImGui::Selectable("Metal",curRenderBackend=="Metal")) {
|
||||
settings.renderBackend="Metal";
|
||||
|
|
Loading…
Reference in a new issue