Added comments

This commit is contained in:
ocornut
2015-01-22 11:03:24 +01:00
parent f1ccd32cb1
commit 70188c5623
2 changed files with 3 additions and 2 deletions

View File

@ -89,8 +89,8 @@
// Load texture
unsigned char* pixels;
int width, height;
io.Fonts->GetTexDataAsRGBA32(pixels, &width, &height);
int width, height, bytes_per_pixels;
io.Fonts->GetTexDataAsRGBA32(pixels, &width, &height, &bytes_per_pixels);
// TODO: copy texture to graphics memory.
// TODO: store your texture pointer/identifier in 'io.Fonts->TexID'