virtualcam-module: Only initialize placeholder once
This commit is contained in:
parent
c5dabb805f
commit
2026270b65
@ -123,6 +123,9 @@ static bool load_placeholder_internal()
|
||||
|
||||
bool initialize_placeholder()
|
||||
{
|
||||
if (initialized)
|
||||
return true;
|
||||
|
||||
GdiplusStartupInput si;
|
||||
ULONG_PTR token;
|
||||
GdiplusStartup(&token, &si, nullptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user