Original Post
I'm using a DirectX v9.0 wrapper for Delphi and I'm trying to enable antialiasing but it's not working. I've narrowed down the problem to this call:
Direct3D9.CheckDeviceMultiSampleType(0, D3DDEVTYPE_HAL, D3DFMT_X8R8G8B8, True, D3DMULTISAMPLE_2_SAMPLES, nil); Does anything look wrong with that? My video card (a cheap laptop nVidia-based card) supports 2x, 2xQ, 4x, and 4xS. I've forceably enabled them in the driver configuration and it works fine, but for some reason I can't enable it via DirectX. What am I doing wrong? Thanks...