DirectX 9 backend, part 4

This commit is contained in:
tildearrow 2024-05-13 16:39:55 -05:00
parent 5a0ddbc212
commit ba15db4292
2 changed files with 7 additions and 1 deletions

View file

@ -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;

View file

@ -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";