Branimir Karadžić 10 years ago
parent
commit
c2398f34c0
2 changed files with 4 additions and 3 deletions
  1. 3 3
      src/renderer_d3d12.cpp
  2. 1 0
      src/renderer_vk.cpp

+ 3 - 3
src/renderer_d3d12.cpp

@@ -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()
 	{

+ 1 - 0
src/renderer_vk.cpp

@@ -4,6 +4,7 @@
  */
 
 #include "bgfx_p.h"
+
 #if BGFX_CONFIG_RENDERER_VULKAN
 #	include "../../bgfx-ext/src/renderer_vk.cpp"
 #else