mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 15:48:11 +03:00
vrclient: Wrap compositor data cleanup with parameter struct.
CW-Bug-Id: #22729
This commit is contained in:
parent
e8d83b6527
commit
92ac73e803
@ -51,7 +51,11 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||
{
|
||||
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;
|
||||
}
|
||||
dlclose(vrclient_lib);
|
||||
|
Loading…
x
Reference in New Issue
Block a user