Skip to content

Commit fdf1ea9

Browse files
committed
xrEngine/Device_create.cpp: don't use Device inside Device
1 parent 893c051 commit fdf1ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/Device_create.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void CRenderDevice::Create()
4646
FS.update_path(fname, "$game_data$", "shaders.xr");
4747
GEnv.Render->OnDeviceCreate(fname);
4848
m_imgui_render = GEnv.RenderFactory->CreateImGuiRender();
49-
m_imgui_render->OnDeviceCreate(Device.GetImGuiContext());
49+
m_imgui_render->OnDeviceCreate(GetImGuiContext());
5050
Statistic->OnDeviceCreate();
5151
dwFrame = 0;
5252
}

0 commit comments

Comments
 (0)