mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 14:05:12 +00:00
test build 2
This commit is contained in:
parent
3420cae9a2
commit
8cfd37b6f5
2 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue