Skip to content

Commit

Permalink
correct return type E_FAIL -> NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 authored Mar 17, 2022
1 parent 2cd67c9 commit 7d50be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ int WINAPI Direct3D9EnableMaximizedWindowedModeShim(BOOL mEnable)
{
if (!m_pDirect3D9EnableMaximizedWindowedModeShim)
{
return E_FAIL;
return NULL;
}

return m_pDirect3D9EnableMaximizedWindowedModeShim(mEnable);
Expand Down

0 comments on commit 7d50be7

Please sign in to comment.