|
@@ -437,7 +437,7 @@ bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, u
|
|
ImFontAtlasBuildInit(atlas);
|
|
ImFontAtlasBuildInit(atlas);
|
|
|
|
|
|
// Clear atlas
|
|
// Clear atlas
|
|
- atlas->TexID = (ImTextureID)nullptr;
|
|
|
|
|
|
+ atlas->TexID = 0;
|
|
atlas->TexWidth = atlas->TexHeight = 0;
|
|
atlas->TexWidth = atlas->TexHeight = 0;
|
|
atlas->TexUvScale = ImVec2(0.0f, 0.0f);
|
|
atlas->TexUvScale = ImVec2(0.0f, 0.0f);
|
|
atlas->TexUvWhitePixel = ImVec2(0.0f, 0.0f);
|
|
atlas->TexUvWhitePixel = ImVec2(0.0f, 0.0f);
|