mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
test build 6
This commit is contained in:
parent
394d5d6583
commit
f51ad1cf1f
2 changed files with 3 additions and 9 deletions
|
@ -54,8 +54,8 @@ class DivWorkPool;
|
||||||
|
|
||||||
#define DIV_UNSTABLE
|
#define DIV_UNSTABLE
|
||||||
|
|
||||||
#define DIV_VERSION "DX9 Test V"
|
#define DIV_VERSION "DX9 Test VI"
|
||||||
#define DIV_ENGINE_VERSION 206
|
#define DIV_ENGINE_VERSION 207
|
||||||
// for imports
|
// for imports
|
||||||
#define DIV_VERSION_MOD 0xff01
|
#define DIV_VERSION_MOD 0xff01
|
||||||
#define DIV_VERSION_FC 0xff02
|
#define DIV_VERSION_FC 0xff02
|
||||||
|
|
|
@ -221,12 +221,6 @@ FurnaceGUITexture* FurnaceGUIRenderDX11::createTexture(bool dynamic, int width,
|
||||||
case GUI_TEXFORMAT_ARGB32:
|
case GUI_TEXFORMAT_ARGB32:
|
||||||
texDesc.Format=DXGI_FORMAT_B8G8R8A8_UNORM;
|
texDesc.Format=DXGI_FORMAT_B8G8R8A8_UNORM;
|
||||||
break;
|
break;
|
||||||
case GUI_TEXFORMAT_BGRA32:
|
|
||||||
texDesc.Format=DXGI_FORMAT_A8R8G8B8_UNORM;
|
|
||||||
break;
|
|
||||||
case GUI_TEXFORMAT_RGBA32:
|
|
||||||
texDesc.Format=DXGI_FORMAT_A8B8G8R8_UNORM;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
logE("unsupported texture format!");
|
logE("unsupported texture format!");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -394,7 +388,7 @@ int FurnaceGUIRenderDX11::getMaxTextureHeight() {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int FurnaceGUIRenderDX11::getTextureFormats() {
|
unsigned int FurnaceGUIRenderDX11::getTextureFormats() {
|
||||||
return GUI_TEXFORMAT_ABGR32|GUI_TEXFORMAT_ARGB32|GUI_TEXFORMAT_BGRA32|GUI_TEXFORMAT_RGBA32;
|
return GUI_TEXFORMAT_ABGR32|GUI_TEXFORMAT_ARGB32;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* FurnaceGUIRenderDX11::getBackendName() {
|
const char* FurnaceGUIRenderDX11::getBackendName() {
|
||||||
|
|
Loading…
Reference in a new issue