Weiye
August 2nd, 1999, 09:13 AM
I have some trouble copying the bitmap data (which i have loaded from file [???.bmp]) onto a DirectDraw surface which i have created.
Say :
BYTE* bypBuffer; // points to actual bitmap data
LPDIRECTDRAWSURFACE lpDDS; // points to a created offscreen
How do i transfer the data from bypBuffer to lpDDS to be display on screen?
Say :
BYTE* bypBuffer; // points to actual bitmap data
LPDIRECTDRAWSURFACE lpDDS; // points to a created offscreen
How do i transfer the data from bypBuffer to lpDDS to be display on screen?