Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Nov 21, 2024
1 parent 01af383 commit 69acf28
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 30 deletions.
16 changes: 0 additions & 16 deletions examples/common/entry/entry_sdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,22 +133,6 @@ namespace entry
return GamepadAxis::Enum(s_translateGamepadAxis[_sdl]);
}

struct AxisDpadRemap
{
Key::Enum first;
Key::Enum second;
};

static AxisDpadRemap s_axisDpad[] =
{
{ Key::GamepadLeft, Key::GamepadRight },
{ Key::GamepadUp, Key::GamepadDown },
{ Key::None, Key::None },
{ Key::GamepadLeft, Key::GamepadRight },
{ Key::GamepadUp, Key::GamepadDown },
{ Key::None, Key::None },
};

struct GamepadSDL
{
GamepadSDL()
Expand Down
1 change: 0 additions & 1 deletion src/renderer_d3d11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6622,7 +6622,6 @@ namespace bgfx { namespace d3d11
}

tvm.printf(10, pos++, 0x8b, " Indices: %7d ", statsNumIndices);
// tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
tvm.printf(10, pos++, 0x8b, " DVB size: %7d ", _render->m_vboffset);
tvm.printf(10, pos++, 0x8b, " DIB size: %7d ", _render->m_iboffset);

Expand Down
1 change: 0 additions & 1 deletion src/renderer_d3d12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7391,7 +7391,6 @@ namespace bgfx { namespace d3d12
}

tvm.printf(10, pos++, 0x8b, " Indices: %7d ", statsNumIndices);
// tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
tvm.printf(10, pos++, 0x8b, " DVB size: %7d ", _render->m_vboffset);
tvm.printf(10, pos++, 0x8b, " DIB size: %7d ", _render->m_iboffset);

Expand Down
1 change: 0 additions & 1 deletion src/renderer_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8711,7 +8711,6 @@ namespace bgfx { namespace gl
}

tvm.printf(10, pos++, 0x8b, " Indices: %7d ", statsNumIndices);
// tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
tvm.printf(10, pos++, 0x8b, " DVB size: %7d ", _render->m_vboffset);
tvm.printf(10, pos++, 0x8b, " DIB size: %7d ", _render->m_iboffset);

Expand Down
1 change: 0 additions & 1 deletion src/renderer_mtl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5444,7 +5444,6 @@ static void setTimestamp(void* _data)
}

tvm.printf(10, pos++, 0x8b, " Indices: %7d ", statsNumIndices);
// tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
tvm.printf(10, pos++, 0x8b, " DVB size: %7d ", _render->m_vboffset);
tvm.printf(10, pos++, 0x8b, " DIB size: %7d ", _render->m_iboffset);

Expand Down
10 changes: 0 additions & 10 deletions src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2800,13 +2800,6 @@ VK_IMPORT_DEVICE
return suspended;
}

//BX_TRACE("updateResolution(%d, %d) m_resolution=(%d, %d)"
// , _resolution.width
// , _resolution.height
// , m_resolution.width
// , m_resolution.height
// );

uint32_t flags = _resolution.reset & ~(0
| BGFX_RESET_SUSPEND
| BGFX_RESET_MAXANISOTROPY
Expand Down Expand Up @@ -5136,8 +5129,6 @@ VK_DESTROY
smci.codeSize = m_code->size;
smci.pCode = (const uint32_t*)m_code->data;

// disassemble(bx::getDebugOut(), m_code->data, m_code->size);

VK_CHECK(vkCreateShaderModule(
s_renderVK->m_device
, &smci
Expand Down Expand Up @@ -9438,7 +9429,6 @@ VK_DESTROY
}

tvm.printf(10, pos++, 0x8b, " Indices: %7d ", statsNumIndices);
// tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
tvm.printf(10, pos++, 0x8b, " DVB size: %7d ", _render->m_vboffset);
tvm.printf(10, pos++, 0x8b, " DIB size: %7d ", _render->m_iboffset);

Expand Down

0 comments on commit 69acf28

Please sign in to comment.