🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

multiple overlay creation problems

Started by
-1 comments, last by Noodles 24 years, 6 months ago
Hi all, For my game, im trying to use 20x20 overlay surfaces Thanks to the Mosquito sample code that came with the DirectX7 SDK, im able to create an overlay surface by looping through a globas list of pixel formats and attempting to create the surface The problem is that when i repeat the code to create a second overlay, DirectDraw returns DDERR_INVALIDPIXELFORMAT even if i reset the DDSURFACEDESC structure and reinitialize it with the necessary flags. Is it because my graphics card doesn''t support multiple overlays (TNT2 Viper770), or is it something else thanks in advance

This topic is closed to new replies.

Advertisement