mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-31 14:25:49 +08:00
This commit is contained in:
@@ -43,7 +43,7 @@ struct ImGui_ImplDX12_InitInfo
|
|||||||
D3D12_GPU_DESCRIPTOR_HANDLE LegacySingleSrvGpuDescriptor;
|
D3D12_GPU_DESCRIPTOR_HANDLE LegacySingleSrvGpuDescriptor;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ImGui_ImplDX12_InitInfo() { memset(this, 0, sizeof(*this)); }
|
ImGui_ImplDX12_InitInfo() { memset((void*)this, 0, sizeof(*this)); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// Follow "Getting Started" link and check examples/ folder to learn about using backends!
|
// Follow "Getting Started" link and check examples/ folder to learn about using backends!
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ struct ImGui_ImplVulkan_Texture
|
|||||||
VkImageView ImageView;
|
VkImageView ImageView;
|
||||||
VkDescriptorSet DescriptorSet;
|
VkDescriptorSet DescriptorSet;
|
||||||
|
|
||||||
ImGui_ImplVulkan_Texture() { memset(this, 0, sizeof(*this)); }
|
ImGui_ImplVulkan_Texture() { memset((void*)this, 0, sizeof(*this)); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// Vulkan data
|
// Vulkan data
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ namespace
|
|||||||
const FT_Glyph_Metrics* LoadGlyph(uint32_t in_codepoint);
|
const FT_Glyph_Metrics* LoadGlyph(uint32_t in_codepoint);
|
||||||
const FT_Bitmap* RenderGlyphAndGetInfo(GlyphInfo* out_glyph_info);
|
const FT_Bitmap* RenderGlyphAndGetInfo(GlyphInfo* out_glyph_info);
|
||||||
void BlitGlyph(const FT_Bitmap* ft_bitmap, uint32_t* dst, uint32_t dst_pitch, unsigned char* multiply_table = nullptr);
|
void BlitGlyph(const FT_Bitmap* ft_bitmap, uint32_t* dst, uint32_t dst_pitch, unsigned char* multiply_table = nullptr);
|
||||||
FreeTypeFont() { memset(this, 0, sizeof(*this)); }
|
FreeTypeFont() { memset((void*)this, 0, sizeof(*this)); }
|
||||||
~FreeTypeFont() { CloseFont(); }
|
~FreeTypeFont() { CloseFont(); }
|
||||||
|
|
||||||
// [Internals]
|
// [Internals]
|
||||||
|
|||||||
Reference in New Issue
Block a user