Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
OIT sample fix
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jun 18, 2015
1 parent a0f6d83 commit a5324b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OIT11/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ void CALLBACK OnGUIEvent( UINT nEvent, int nControlID, CDXUTControl* pControl, v
bool CALLBACK IsD3D11DeviceAcceptable( const CD3D11EnumAdapterInfo *AdapterInfo, UINT Output, const CD3D11EnumDeviceInfo *DeviceInfo,
DXGI_FORMAT BackBufferFormat, bool bWindowed, void* pUserContext )
{
if (BackBufferFormat == DXGI_FORMAT_R8G8B8A8_UNORM_SRGB)
return false;

return true;
}

Expand Down

0 comments on commit a5324b7

Please sign in to comment.