mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-07 13:35:49 +02:00
Added IMGUI_DISABLE_OBSOLETE_FUNCTIONS
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user