Results 1 to 2 of 2

Thread: more bpp blues

  1. #1
    sunnyl
    Guest

    more bpp blues

    I've finally got lRBGBitCount in DirectDraw working to some degree like this:

    Code:
    Dim PixelDetails As DDPIXELFORMAT
    Dim DepthRate As Long
        
    'the bpp of the file
    imgBuffer.GetPixelFormat PixelDetails
    DepthRate = PixelDetails.lRGBBitCount
    But it seems that it always returns the bpp or the desktop and not the surface from which the file was created from.

  2. #2
    sunnyl
    Guest
    Any takers?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width