-
DirectX Version Thingy
Hi. I'm learning DirectX from a tutorial, and I'm pretty sure it's an older version than my SDK.
What are the DirectX 8.1 equivelants to these?
"CreateOffScreenSurface(pdd, bm.bmWidth, bm.bmHeight);"
and
"DDCopyBitmap(pdds, hbm, bm.bmWidth, bm.bmHeight);"
-
Those look like helper functions that may have been part of ddutil.h (which is often included in the SDK samples). The DX8 ddutil (in samples/multiimedia/common) wraps alot of these functions into two classes CDisplay and CSurface. CSurface::CreateSurfaceFromBitmap() will create an off screen surface from a bitmap, so you may need something like this. I'm not sure if this has been changed for 8.1 because I don't have the SDK installed on the machine I'm typing this on.