On 06/13/2011 01:03 AM, Vincent Povirk wrote:
You should probably call D3DXGetImageInfoFromFileInMemory for the
real work.
That is optimal, except I see no clear way to read the entire resource file(I'm quite new to winapi developing).
LoadResource does read the file but it doesn't include the header, which seems necessary for D3DXGetImageInfoFromFileInMemory to properly recognize the file.
On Sun, Jun 12, 2011 at 10:32 PM, Charles Welton
charleswfb@gmail.com wrote:
The code works except it doesn't try to detect the bitmap format. Kindly ask for review and how to properly implement this. Should GetDIBits be used?
-- Charles Welton
-- Charles Welton