Cleanup.
This commit is contained in:
parent
8f6495be0b
commit
3b01df7293
23
src/config.h
23
src/config.h
@ -107,20 +107,27 @@
|
|||||||
# error "Can't define both BGFX_CONFIG_RENDERER_OPENGL and BGFX_CONFIG_RENDERER_OPENGLES"
|
# error "Can't define both BGFX_CONFIG_RENDERER_OPENGL and BGFX_CONFIG_RENDERER_OPENGLES"
|
||||||
#endif // BGFX_CONFIG_RENDERER_OPENGL && BGFX_CONFIG_RENDERER_OPENGLES
|
#endif // BGFX_CONFIG_RENDERER_OPENGL && BGFX_CONFIG_RENDERER_OPENGLES
|
||||||
|
|
||||||
#ifndef BGFX_CONFIG_DEBUG_PERFHUD
|
/// Enable use of extensions.
|
||||||
# define BGFX_CONFIG_DEBUG_PERFHUD 0
|
|
||||||
#endif // BGFX_CONFIG_DEBUG_NVPERFHUD
|
|
||||||
|
|
||||||
#ifndef BGFX_CONFIG_RENDERER_USE_EXTENSIONS
|
#ifndef BGFX_CONFIG_RENDERER_USE_EXTENSIONS
|
||||||
# define BGFX_CONFIG_RENDERER_USE_EXTENSIONS 1
|
# define BGFX_CONFIG_RENDERER_USE_EXTENSIONS 1
|
||||||
#endif // BGFX_CONFIG_RENDERER_USE_EXTENSIONS
|
#endif // BGFX_CONFIG_RENDERER_USE_EXTENSIONS
|
||||||
|
|
||||||
/// DX9 PIX markers
|
/// Enable use of tinystl.
|
||||||
|
#ifndef BGFX_CONFIG_USE_TINYSTL
|
||||||
|
# define BGFX_CONFIG_USE_TINYSTL 1
|
||||||
|
#endif // BGFX_CONFIG_USE_TINYSTL
|
||||||
|
|
||||||
|
/// Enable nVidia PerfHUD integration.
|
||||||
|
#ifndef BGFX_CONFIG_DEBUG_PERFHUD
|
||||||
|
# define BGFX_CONFIG_DEBUG_PERFHUD 0
|
||||||
|
#endif // BGFX_CONFIG_DEBUG_NVPERFHUD
|
||||||
|
|
||||||
|
/// Enable PIX markers.
|
||||||
#ifndef BGFX_CONFIG_DEBUG_PIX
|
#ifndef BGFX_CONFIG_DEBUG_PIX
|
||||||
# define BGFX_CONFIG_DEBUG_PIX BGFX_CONFIG_DEBUG
|
# define BGFX_CONFIG_DEBUG_PIX BGFX_CONFIG_DEBUG
|
||||||
#endif // BGFX_CONFIG_DEBUG_PIX
|
#endif // BGFX_CONFIG_DEBUG_PIX
|
||||||
|
|
||||||
/// DX11 object names
|
/// Enable DX11 object names.
|
||||||
#ifndef BGFX_CONFIG_DEBUG_OBJECT_NAME
|
#ifndef BGFX_CONFIG_DEBUG_OBJECT_NAME
|
||||||
# define BGFX_CONFIG_DEBUG_OBJECT_NAME BGFX_CONFIG_DEBUG
|
# define BGFX_CONFIG_DEBUG_OBJECT_NAME BGFX_CONFIG_DEBUG
|
||||||
#endif // BGFX_CONFIG_DEBUG_OBJECT_NAME
|
#endif // BGFX_CONFIG_DEBUG_OBJECT_NAME
|
||||||
@ -230,10 +237,6 @@
|
|||||||
# define BGFX_CONFIG_MAX_CONSTANT_BUFFER_SIZE (512<<10)
|
# define BGFX_CONFIG_MAX_CONSTANT_BUFFER_SIZE (512<<10)
|
||||||
#endif // BGFX_CONFIG_MAX_CONSTANT_BUFFER_SIZE
|
#endif // BGFX_CONFIG_MAX_CONSTANT_BUFFER_SIZE
|
||||||
|
|
||||||
#ifndef BGFX_CONFIG_USE_TINYSTL
|
|
||||||
# define BGFX_CONFIG_USE_TINYSTL 1
|
|
||||||
#endif // BGFX_CONFIG_USE_TINYSTL
|
|
||||||
|
|
||||||
#ifndef BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT
|
#ifndef BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT
|
||||||
# define BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT 5
|
# define BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT 5
|
||||||
#endif // BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT
|
#endif // BGFX_CONFIG_MAX_INSTANCE_DATA_COUNT
|
||||||
|
Loading…
Reference in New Issue
Block a user