Jump to content

  • Log In with Google      Sign In   
  • Create Account

Is DXUTIsInGammaCorrectMode() deprecated?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 06 January 2013 - 03:06 PM

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?



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS