• Advertisement
Sign in to follow this  

Is DXUTIsInGammaCorrectMode() deprecated?

This topic is 1842 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In MAKE_TYPELESS( DXGI_FORMAT format ) it checks for:

DXGI_FORMAT MAKE_TYPELESS( DXGI_FORMAT format ){if( !DXUTIsInGammaCorrectMode() )return format//........

In DXUTIsInGammaCorrectMode() it returns:

GetDXUTState().GetIsInGammaCorrectMode();

In GetIsInGammaCorrectMode(); it just returns a bool member and in the DXUTState object the only place where that bool is referenced is the constructor where it's set to true.

Does this mean that DXUTIsInGammaCorrectMode() is always true no matter what?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement