Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Is DXUTIsInGammaCorrectMode() deprecated?

4: Adsense

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   

360
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?






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.