mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-30 15:38:23 +03:00
vrclient: Wrap compositor data cleanup with parameter struct.
CW-Bug-Id: #22729
This commit is contained in:
parent
7d4cdbe6a6
commit
96bdb0850b
@ -51,7 +51,11 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
|||||||
{
|
{
|
||||||
if (compositor_data.client_core_linux_side)
|
if (compositor_data.client_core_linux_side)
|
||||||
{
|
{
|
||||||
cppIVRClientCore_IVRClientCore_003_Cleanup(compositor_data.client_core_linux_side);
|
struct cppIVRClientCore_IVRClientCore_003_Cleanup_params params =
|
||||||
|
{
|
||||||
|
.linux_side = compositor_data.client_core_linux_side,
|
||||||
|
};
|
||||||
|
cppIVRClientCore_IVRClientCore_003_Cleanup( ¶ms );
|
||||||
compositor_data.client_core_linux_side = NULL;
|
compositor_data.client_core_linux_side = NULL;
|
||||||
}
|
}
|
||||||
dlclose(vrclient_lib);
|
dlclose(vrclient_lib);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user