Skip to content

Commit

Permalink
Merge pull request #10 from anzz1/patch-2
Browse files Browse the repository at this point in the history
correct return type E_FAIL -> NULL
  • Loading branch information
ThirteenAG authored Mar 17, 2022
2 parents 2cd67c9 + 7d50be7 commit c1480b0
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 c1480b0

Please sign in to comment.