mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Change default renderer for Win8 to DX11.
This commit is contained in:
parent
fa508e83a1
commit
b4d29b0afa
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
||||||
#ifndef __CONFIG_H__
|
#ifndef __CONFIG_H__
|
||||||
#define __CONFIG_H__
|
#define __CONFIG_H__
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
|
#if !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
|
||||||
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D11) \
|
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D11) \
|
||||||
&& !defined(BGFX_CONFIG_RENDERER_OPENGL) \
|
&& !defined(BGFX_CONFIG_RENDERER_OPENGL) \
|
||||||
|
@ -15,13 +17,14 @@
|
||||||
|
|
||||||
# ifndef BGFX_CONFIG_RENDERER_DIRECT3D9
|
# ifndef BGFX_CONFIG_RENDERER_DIRECT3D9
|
||||||
# define BGFX_CONFIG_RENDERER_DIRECT3D9 (0 \
|
# define BGFX_CONFIG_RENDERER_DIRECT3D9 (0 \
|
||||||
| BX_PLATFORM_WINDOWS \
|
| (BX_PLATFORM_WINDOWS && _WIN32_WINNT < 0x0602 /*_WIN32_WINNT_WIN8*/) \
|
||||||
| BX_PLATFORM_XBOX360 \
|
| BX_PLATFORM_XBOX360 \
|
||||||
)
|
)
|
||||||
# endif // BGFX_CONFIG_RENDERER_DIRECT3D9
|
# endif // BGFX_CONFIG_RENDERER_DIRECT3D9
|
||||||
|
|
||||||
# ifndef BGFX_CONFIG_RENDERER_DIRECT3D11
|
# ifndef BGFX_CONFIG_RENDERER_DIRECT3D11
|
||||||
# define BGFX_CONFIG_RENDERER_DIRECT3D11 (0 \
|
# define BGFX_CONFIG_RENDERER_DIRECT3D11 (0 \
|
||||||
|
| (BX_PLATFORM_WINDOWS && _WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/) \
|
||||||
)
|
)
|
||||||
# endif // BGFX_CONFIG_RENDERER_DIRECT3D11
|
# endif // BGFX_CONFIG_RENDERER_DIRECT3D11
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue