diff --git a/src/engine/engine.h b/src/engine/engine.h index 157532b64..80bdadb9f 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -54,8 +54,8 @@ class DivWorkPool; #define DIV_UNSTABLE -#define DIV_VERSION "DX9 Test I" -#define DIV_ENGINE_VERSION 202 +#define DIV_VERSION "DX9 Test II" +#define DIV_ENGINE_VERSION 203 // for imports #define DIV_VERSION_MOD 0xff01 #define DIV_VERSION_FC 0xff02 diff --git a/src/gui/render/renderDX9.cpp b/src/gui/render/renderDX9.cpp index 6ecf3c39e..66efdf0e6 100644 --- a/src/gui/render/renderDX9.cpp +++ b/src/gui/render/renderDX9.cpp @@ -382,10 +382,14 @@ bool FurnaceGUIRenderDX9::init(SDL_Window* win, int swapInt) { HRESULT result=iface->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,window,D3DCREATE_HARDWARE_VERTEXPROCESSING,&priv->present,&device); if (result!=D3D_OK) { - logE("could not create device! %.8x",result); - iface->Release(); - iface=NULL; - return false; + logW("no hardware vertex processing!"); + result=iface->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,window,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&priv->present,&device); + if (result!=D3D_OK) { + logE("could not create device! %.8x",result); + iface->Release(); + iface=NULL; + return false; + } } D3DCAPS9 caps;