Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Is DXUTIsInGammaCorrectMode() deprecated?

Started by mrheisenberg Jan 6, 2013 at 9:06 PM 0 replies 1.1k views
Original Post
mrheisenberg
mrheisenberg

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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.