Skip to content

Commit

Permalink
Code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Dec 11, 2024
1 parent 192c130 commit d09fea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion d3d12game_win32/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
if (FAILED(CoInitializeEx(nullptr, COINITBASE_MULTITHREADED)))
return 1;
#else
if (FAILED(RoInitialize(COINITBASE_MULTITHREADED)))
if (FAILED(RoInitialize(RO_INIT_MULTITHREADED)))
return 1;
#endif

Expand Down
2 changes: 1 addition & 1 deletion d3d12game_win32_dr/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
if (FAILED(CoInitializeEx(nullptr, COINITBASE_MULTITHREADED)))
return 1;
#else
if (FAILED(RoInitialize(COINITBASE_MULTITHREADED)))
if (FAILED(RoInitialize(RO_INIT_MULTITHREADED)))
return 1;
#endif

Expand Down

0 comments on commit d09fea1

Please sign in to comment.