celu
11-23-2006, 06:48 AM
i have my image data in an array.i want to load it onto the back buffer.it tried a number of ways..including creating a plain surface and then trying the D3DXLoadSurfaceFromFileInMemory() function. But when i pass the pointer to the array the function fails.Can i pass the array pointer directly to this function?
or should i may be create an HBITMAP object from this array before passing it to this function?....or is there any other easier way for loading my backbuffer with this image data....HELP!!!
or should i may be create an HBITMAP object from this array before passing it to this function?....or is there any other easier way for loading my backbuffer with this image data....HELP!!!