mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-22 01:54:21 +00:00
ImLoadFileToMemory() default parameters
This commit is contained in:
parent
94f085aa3e
commit
7552f48d7b
2 changed files with 3 additions and 2 deletions
|
|
@ -1168,7 +1168,8 @@ bool ImLoadFileToMemory(const char* filename, const char* file_open_mode, void**
|
|||
|
||||
fclose(f);
|
||||
*out_file_data = file_data;
|
||||
*out_file_size = file_size;
|
||||
if (out_file_size)
|
||||
*out_file_size = file_size;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue