From b28ec1f3b11868cbde93e7613cc6234e317e5b30 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Tue, 14 Apr 2015 00:40:46 +0200 Subject: [PATCH] fix outdated documentation --- imgui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.h b/imgui.h index 5d3ac4aa..49bc50c2 100644 --- a/imgui.h +++ b/imgui.h @@ -945,7 +945,7 @@ struct ImDrawList // 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data. // 3. Upload the pixels data into a texture within your graphics system. // 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture. -// 5. Call ClearPixelsData() to free textures memory on the heap. +// 5. Call ClearTexData() to free textures memory on the heap. struct ImFontAtlas { IMGUI_API ImFontAtlas();