Fixed comments

This commit is contained in:
ocornut 2015-03-07 22:49:16 +00:00
parent 3c225bbf88
commit f9473b807b

View File

@ -7459,7 +7459,7 @@ void ImFontAtlas::RenderCustomTexData()
TexUvWhitePixel = ImVec2((TexExtraDataPos.x + 0.5f) / TexWidth, (TexExtraDataPos.y + 0.5f) / TexHeight); TexUvWhitePixel = ImVec2((TexExtraDataPos.x + 0.5f) / TexWidth, (TexExtraDataPos.y + 0.5f) / TexHeight);
// Draw a mouse cursor into texture // Draw a mouse cursor into texture
// Because our font uses an alpha texture, we have to spread the cursor in 2 parts (black/white) which will be rendered separately. // Because our font uses a single color channel, we have to spread the cursor in 2 layers (black/white) which will be rendered separately.
const char cursor_pixels[] = const char cursor_pixels[] =
{ {
"X " "X "