Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Oct 19, 2018
1 parent a76563b commit 0cc786d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/d3d9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ HRESULT f_iD3D9::CreateDevice(UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWi
if (bForceWindowedMode)
ForceWindowed(pPresentationParameters);

if (bFPSLimit)
pPresentationParameters->PresentationInterval = 0x80000000;

HRESULT hr = f_pD3D->CreateDevice(Adapter, DeviceType, hFocusWindow, BehaviorFlags, pPresentationParameters, ppReturnedDeviceInterface);

// NOTE: initialize your custom D3D components here.
Expand Down

0 comments on commit 0cc786d

Please sign in to comment.