• Advertisement


This topic is now archived and is closed to further replies.

Do I have to write a color pallet for ddraw

This topic is 5190 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

No, just initialize DirectDraw so that you have 32 bits of color.

HRESULT SetDisplayMode(
DWORD dwWidth,
DWORD dwHeight,
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]

Share this post

Link to post
Share on other sites

  • Advertisement