blind coding moment

This commit is contained in:
tildearrow 2024-05-16 12:57:47 -05:00
parent 9d6d7a82fe
commit b6ed27f394

View file

@ -227,7 +227,7 @@ void ImGui_ImplDX9_RenderDrawData(ImDrawData* draw_data)
vtx_dst++;
vtx_src++;
}
if (sizeof(ImDrawIdx) == sizeof(unsigned short) {
if (sizeof(ImDrawIdx) == sizeof(unsigned short)) {
memcpy(idx_dst, cmd_list->IdxBuffer.Data, cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx));
} else {
// slower, but works on VIA