mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-07-06 22:42:19 +08:00
Use shared font atlas and fix crash when opening overlay in some games.
This commit is contained in:
@ -84,7 +84,7 @@ void OpenGLX_Hook::_PrepareForOverlay(Display* display, GLXDrawable drawable)
|
||||
{
|
||||
if( !_Initialized )
|
||||
{
|
||||
ImGui::CreateContext();
|
||||
ImGui::CreateContext((ImFontAtlas *)ImGuiFontAtlas);
|
||||
ImGui_ImplOpenGL3_Init();
|
||||
|
||||
//int attributes[] = { //can't be const b/c X11 doesn't like it. Not sure if that's intentional or just stupid.
|
||||
|
Reference in New Issue
Block a user