Do I have to write a color pallet for ddraw
No, just initialize DirectDraw so that you have 32 bits of color.
dwBPP is the bits per pixel, set it to 32.
[edited by - porthios on February 5, 2004 6:44:33 PM]
HRESULT SetDisplayMode( DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwRefreshRate, DWORD dwFlags );
dwBPP is the bits per pixel, set it to 32.
[edited by - porthios on February 5, 2004 6:44:33 PM]
Yeah, you dont need to use 32 bits, you could just use 24 bits too. Use whatever bit depth suits your requirements.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement