home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / flip2d / readme.txt < prev    next >
Encoding:
Text File  |  1997-07-15  |  542 b   |  12 lines

  1. Basic demonstration of DirectDraw page flipping.  Renders a spinning cube
  2. to the back buffer, then flips.
  3.  
  4. App Note:
  5. The palette chosen for 8bpp is Red, Green and Blue wash. There isn't enough
  6. room for Yellow, Orange, and Purple. The code in the sample app itself
  7. decides to map Yellow, Orange and Purple to Red. If you specify "DrawWithGDI"
  8. with the Cube menu, then Yellow/Orange/Purple are drawn without very many
  9. shades (because it's using system colors and there are only a few shades
  10. of yellow/orange/purple are available). 
  11.  
  12.