DKing
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
misc/freetype/imgui_freetype.cpp
|
@ -63,8 +63,10 @@ |
|
|
#pragma GCC diagnostic push |
|
|
#pragma GCC diagnostic push |
|
|
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
|
|
|
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
|
|
|
#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used
|
|
|
#pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used
|
|
|
|
|
|
#ifndef __clang__ |
|
|
#pragma GCC diagnostic ignored "-Wsubobject-linkage" // warning: 'xxxx' has a field 'xxxx' whose type uses the anonymous namespace
|
|
|
#pragma GCC diagnostic ignored "-Wsubobject-linkage" // warning: 'xxxx' has a field 'xxxx' whose type uses the anonymous namespace
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
//-------------------------------------------------------------------------
|
|
|
// Data
|
|
|
// Data
|
|
@ -840,7 +842,7 @@ static FT_Error ImGuiLunasvgPortInit(FT_Pointer* _state) |
|
|
|
|
|
|
|
|
static void ImGuiLunasvgPortFree(FT_Pointer* _state) |
|
|
static void ImGuiLunasvgPortFree(FT_Pointer* _state) |
|
|
{ |
|
|
{ |
|
|
IM_DELETE(*(LunasvgPortState*)_state); |
|
|
IM_DELETE(*(LunasvgPortState**)_state); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static FT_Error ImGuiLunasvgPortRender(FT_GlyphSlot slot, FT_Pointer* _state) |
|
|
static FT_Error ImGuiLunasvgPortRender(FT_GlyphSlot slot, FT_Pointer* _state) |
|
|