quote:Original post by Barn Door
I don't see what the format is being validated against in a call to CheckDeviceType and thus why it and any modes which support it might be rejected?
It doesn't seem to make sense that its a simple case of - does this card support this format - because in the SDK sample, the display modes of the adapters are enumerated and an array of pixel formats is built up. These formats come from the card! So why would you then need to check them in a call to CheckDeviceType ?
i'll take a wild shot in dark with this... perhaps when the diplay modes are enumerated, ALL the modes are returned even the ones that cant use hardware acceleration for reasons mentioned above.
also, some cards just dont support all the modes and X1R5G5B5 might have been one of them....
but im probably wrong
Get busy livin' or get busy dyin'... - Shawshank Redemption
[edited by - Syrillix on September 3, 2002 8:01:52 PM]