mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-07 04:30:08 +00:00
Added IMGUI_DISABLE_OBSOLETE_FUNCTIONS
This commit is contained in:
parent
475498f2eb
commit
0539be7067
3 changed files with 7 additions and 0 deletions
|
|
@ -8940,6 +8940,7 @@ void ImFontAtlas::Clear()
|
|||
ClearFonts();
|
||||
}
|
||||
|
||||
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
||||
void ImGui::GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const void** png_data, unsigned int* png_size)
|
||||
{
|
||||
printf("GetDefaultFontData() is obsoleted in ImGui 1.30.\n");
|
||||
|
|
@ -8950,6 +8951,7 @@ void ImGui::GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, co
|
|||
if (png_size) *png_size = 0;
|
||||
IM_ASSERT(false);
|
||||
}
|
||||
#endif
|
||||
|
||||
void ImFontAtlas::GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue