Explorar o código

Merge pull request #193 from Extrawurst/patch-3

Fix outdated documentation
omar %!s(int64=10) %!d(string=hai) anos
pai
achega
88bc8efab0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      imgui.h

+ 1 - 1
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();