VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Question (Getting o/t) about DDraw... Rag on a Stick (2 replies, 0 views) (2000-Sep-8) (Sorry if I double post, I'm not sure if the last one worked, and 56k is too slow to worry about others =)
Ok with this code:
Dim NewSurfaceDesc as DDSURFACEDESC2
MySurface.GetSurfaceDesc NewSurfaceDesc
Set MySurface = Nothing
Set MySurface = Ddraw.CreateSurfaceFromFile(NewBMP,NewSurfaceDesc)
When that is run, the line: ...GetSurfaceDesc NewSurfaceDesc will do what? I'm assuming it will clear the surface, am I right? I'm curious.
Can you skip the line so the code just reads:
Set MySurface = Nothing
Set MySurface = Ddraw.CreateSurfaceFromFile(NewBMP,NewSurfaceDesc)
Or would that stuff up.
Someone smart? (Well, you probably don't need to be too smart to know this, but it's over my head being a ddraw newbie =)
thanks
|