Jump to content
  • Advertisement


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


Direct Draw & D3DX in the same program

This topic is 5506 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

Hello, I am in the process of writing an ap that on startup determines wether it will be using D3DX or Direct Draw as it''s primary method of rasterization, I''ve figured out the logistics of how it will work, but most of my classes / structures / etc, explicitely use LPDIRECTDRAWSURFACE, or LPDIRECT3DTEXTURE8 for their surfaces. The problem is that while I can simply make a constant (IMAGSURF or whatever), or some sort of blanket variable to handle it inside my classes, etc. . there''s no way to change IMAGSURF from defining the d3dx type surface, or the dd surface. Anyone have any ideas? or even if there''s an easier way to do it? (like some easy conversion between LPDDS and LPD3DT) ? -F.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!