Skip to content

Commit

Permalink
xrEngine/Device_create.cpp: don't use Device inside Device
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Dec 17, 2024
1 parent 893c051 commit fdf1ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/Device_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void CRenderDevice::Create()
FS.update_path(fname, "$game_data$", "shaders.xr");
GEnv.Render->OnDeviceCreate(fname);
m_imgui_render = GEnv.RenderFactory->CreateImGuiRender();
m_imgui_render->OnDeviceCreate(Device.GetImGuiContext());
m_imgui_render->OnDeviceCreate(GetImGuiContext());
Statistic->OnDeviceCreate();
dwFrame = 0;
}

0 comments on commit fdf1ea9

Please sign in to comment.