Sign in to follow this  
Followers 0
mrheisenberg

Is DXUTIsInGammaCorrectMode() deprecated?

0 posts in this topic

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?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0