mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 10:32:40 +00:00
blind coding moment
This commit is contained in:
parent
9d6d7a82fe
commit
b6ed27f394
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue