no antialiasing in full screen mode

I’m having an antialiasing problem with both Ati and Nvidia cards. If I force antialiasing in the driver control panel everything works fine in windowed mode, but in full screen mode no aa is applied.

Has anyone had this problem and do you know a solution? I can post some code if necessary.

Thanks.

In case someone else has this problem I found the solution. I was using a 16 bit color buffer and apparently the drivers can’t force antialiasing in this mode.