• Advertisement
Sign in to follow this  

D3DFMT_A8R8G8B8/D3DFMT_X8R8G8B8

This topic is 4951 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

How come if I do GetAdapterModeCount passing in D3DFMT_A8R8G8B8 as the format, it returns 0, except I can still create the device using that format? If I pass D3DFMT_X8R8G8B8 into GetAdapterModeCount it returns something like 63. Is it safe to assume that if D3DFMT_X8R8G8B8 is supported, I can use D3DFMT_A8R8G8B8, or is there something in d3dcaps I need to check? Oh, and my card is a geForce 4 ti4600. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
The "display adapter" can't do transparency (your monitor has trouble with alpha), however your backbuffer CAN have alpha for DESTALPHA blend effects.

You need to use CheckDeviceType, using the X version for the adapter, and the A version for the backbuffer to determine support.

Share this post


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

  • Advertisement