mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -410,16 +410,16 @@ namespace bgfx
|
||||
|
||||
struct NativeWindowHandleType
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
Default = 0, //!< Platform default handle type (X11 on Linux).
|
||||
Wayland, //!< Wayland.
|
||||
enum Enum
|
||||
{
|
||||
Default = 0, //!< Platform default handle type (X11 on Linux).
|
||||
Wayland, //!< Wayland.
|
||||
|
||||
Count
|
||||
};
|
||||
Count
|
||||
};
|
||||
};
|
||||
|
||||
static const uint16_t kInvalidHandle = UINT16_MAX;
|
||||
constexpr uint16_t kInvalidHandle = UINT16_MAX;
|
||||
|
||||
BGFX_HANDLE(DynamicIndexBufferHandle)
|
||||
BGFX_HANDLE(DynamicVertexBufferHandle)
|
||||
|
||||
@@ -706,6 +706,7 @@ namespace bgfx { namespace d3d12
|
||||
, m_winPixEvent(NULL)
|
||||
, m_featureLevel(D3D_FEATURE_LEVEL(0) )
|
||||
, m_swapChain(NULL)
|
||||
, m_backBufferDepthStencil(NULL)
|
||||
, m_wireframe(false)
|
||||
, m_lost(false)
|
||||
, m_maxAnisotropy(1)
|
||||
@@ -713,7 +714,6 @@ namespace bgfx { namespace d3d12
|
||||
, m_backBufferColorIdx(0)
|
||||
, m_rtMsaa(false)
|
||||
, m_directAccessSupport(false)
|
||||
, m_backBufferDepthStencil(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user