From 7e2305eb36db2d1b80890bccf76ff94db79a4023 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sun, 18 Jan 2015 12:22:17 +0000 Subject: [PATCH] Comments --- imgui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 9c394a4c..d7687310 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -141,7 +141,8 @@ io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); // io.Fonts->TexID = (your_texture_identifier); - but we now have much more flexibility to load multiple TTF fonts and manage the texture buffer for internal needs. + you now have much more flexibility to load multiple TTF fonts and manage the texture buffer for internal needs. + it is now recommended your sample the font texture with bilinear interpolation. (1.30) - added texture identifier in ImDrawCmd passed to your render function (we can now render images). make sure to set io.Fonts->TexID. (1.30) - removed IO.PixelCenterOffset (unnecessary, can be handled in user projection matrix) - 2014/12/10 (1.18) - removed SetNewWindowDefaultPos() in favor of new generic API SetNextWindowPos(pos, ImGuiSetCondition_FirstUseEver)