update Dear ImGui to 1.91.4
This commit is contained in:
parent
623fce4f01
commit
2a7eac93f8
41 changed files with 1145 additions and 791 deletions
2
extern/imgui_software_renderer/imgui_sw.cpp
vendored
2
extern/imgui_software_renderer/imgui_sw.cpp
vendored
|
|
@ -710,7 +710,7 @@ bool ImGui_ImplSW_CreateFontsTexture() {
|
|||
int font_width, font_height;
|
||||
io.Fonts->GetTexDataAsAlpha8(&tex_data, &font_width, &font_height);
|
||||
SWTexture* texture = new SWTexture((uint32_t*)tex_data,font_width,font_height,true);
|
||||
io.Fonts->SetTexID(texture);
|
||||
io.Fonts->SetTexID((ImTextureID)texture);
|
||||
bd->FontTexture = texture;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue