test build 2

This commit is contained in:
tildearrow 2024-05-14 14:11:39 -05:00
parent 3420cae9a2
commit 8cfd37b6f5
2 changed files with 10 additions and 6 deletions

View file

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

View file

@ -381,12 +381,16 @@ 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) {
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;