Skip to content

Commit 69acf28

Browse files
committed
Cleanup.
1 parent 01af383 commit 69acf28

File tree

6 files changed

+0
-30
lines changed

6 files changed

+0
-30
lines changed

examples/common/entry/entry_sdl.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -133,22 +133,6 @@ namespace entry
133133
return GamepadAxis::Enum(s_translateGamepadAxis[_sdl]);
134134
}
135135

136-
struct AxisDpadRemap
137-
{
138-
Key::Enum first;
139-
Key::Enum second;
140-
};
141-
142-
static AxisDpadRemap s_axisDpad[] =
143-
{
144-
{ Key::GamepadLeft, Key::GamepadRight },
145-
{ Key::GamepadUp, Key::GamepadDown },
146-
{ Key::None, Key::None },
147-
{ Key::GamepadLeft, Key::GamepadRight },
148-
{ Key::GamepadUp, Key::GamepadDown },
149-
{ Key::None, Key::None },
150-
};
151-
152136
struct GamepadSDL
153137
{
154138
GamepadSDL()

src/renderer_d3d11.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6622,7 +6622,6 @@ namespace bgfx { namespace d3d11
66226622
}
66236623

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

src/renderer_d3d12.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7391,7 +7391,6 @@ namespace bgfx { namespace d3d12
73917391
}
73927392

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

src/renderer_gl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8711,7 +8711,6 @@ namespace bgfx { namespace gl
87118711
}
87128712

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

src/renderer_mtl.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5444,7 +5444,6 @@ static void setTimestamp(void* _data)
54445444
}
54455445

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

src/renderer_vk.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2800,13 +2800,6 @@ VK_IMPORT_DEVICE
28002800
return suspended;
28012801
}
28022802

2803-
//BX_TRACE("updateResolution(%d, %d) m_resolution=(%d, %d)"
2804-
// , _resolution.width
2805-
// , _resolution.height
2806-
// , m_resolution.width
2807-
// , m_resolution.height
2808-
// );
2809-
28102803
uint32_t flags = _resolution.reset & ~(0
28112804
| BGFX_RESET_SUSPEND
28122805
| BGFX_RESET_MAXANISOTROPY
@@ -5136,8 +5129,6 @@ VK_DESTROY
51365129
smci.codeSize = m_code->size;
51375130
smci.pCode = (const uint32_t*)m_code->data;
51385131

5139-
// disassemble(bx::getDebugOut(), m_code->data, m_code->size);
5140-
51415132
VK_CHECK(vkCreateShaderModule(
51425133
s_renderVK->m_device
51435134
, &smci
@@ -9438,7 +9429,6 @@ VK_DESTROY
94389429
}
94399430

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

0 commit comments

Comments
 (0)