mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Cleanup.
This commit is contained in:
parent
b702dcdf3c
commit
c2398f34c0
2 changed files with 4 additions and 3 deletions
|
@ -24,7 +24,7 @@ namespace bgfx { namespace d3d12
|
|||
uint32_t m_div;
|
||||
uint32_t m_sub;
|
||||
};
|
||||
|
||||
|
||||
static const PrimInfo s_primInfo[] =
|
||||
{
|
||||
{ D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST, D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, 3, 3, 0 },
|
||||
|
@ -3687,7 +3687,7 @@ data.NumQualityLevels = 0;
|
|||
const VertexDecl& vertexDecl = m_vertexDecls[declIdx];
|
||||
|
||||
const uint64_t state = draw.m_flags;
|
||||
ID3D12PipelineState* pso =
|
||||
ID3D12PipelineState* pso =
|
||||
getPipelineState(state
|
||||
, draw.m_stencil
|
||||
, declIdx
|
||||
|
@ -3997,7 +3997,7 @@ data.NumQualityLevels = 0;
|
|||
|
||||
#else
|
||||
|
||||
namespace bgfx
|
||||
namespace bgfx { namespace d3d12
|
||||
{
|
||||
RendererContextI* rendererCreate()
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include "bgfx_p.h"
|
||||
|
||||
#if BGFX_CONFIG_RENDERER_VULKAN
|
||||
# include "../../bgfx-ext/src/renderer_vk.cpp"
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue