multiple overlay creation problems
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement