mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-24 05:19:02 +08:00
Added extraneous initialization to NULL. (#1527).
This commit is contained in:
parent
4fc9f44073
commit
ecbfdd3143
@ -1439,7 +1439,7 @@ void ImFontAtlas::GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_wid
|
|||||||
// Although it is likely to be the most commonly used format, our font rendering is 1 channel / 8 bpp
|
// Although it is likely to be the most commonly used format, our font rendering is 1 channel / 8 bpp
|
||||||
if (!TexPixelsRGBA32)
|
if (!TexPixelsRGBA32)
|
||||||
{
|
{
|
||||||
unsigned char* pixels;
|
unsigned char* pixels = NULL;
|
||||||
GetTexDataAsAlpha8(&pixels, NULL, NULL);
|
GetTexDataAsAlpha8(&pixels, NULL, NULL);
|
||||||
if (pixels)
|
if (pixels)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user