Fixed comments
This commit is contained in:
parent
3c225bbf88
commit
f9473b807b
@ -7459,7 +7459,7 @@ void ImFontAtlas::RenderCustomTexData()
|
||||
TexUvWhitePixel = ImVec2((TexExtraDataPos.x + 0.5f) / TexWidth, (TexExtraDataPos.y + 0.5f) / TexHeight);
|
||||
|
||||
// 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[] =
|
||||
{
|
||||
"X "
|
||||
|
Loading…
Reference in New Issue
Block a user