I keep getting the DDERR_OUTOFCAPS error in my application while using directdraw. I have a feeling its because there is an overlay surface created somewhere thats not being released. Is there any way I can just call somthing to release all overlay surfaces created?