1) How do you get your cursor that you made for your D3D application to show? Rightnow im doing:
But the cursor doesn't show up!Code:Set Cursor = Device.CreateImageSurface(32, 32, D3DFMT_A8R8G8B8) D3DX.LoadSurfaceFromFile Cursor, ByVal 0, ByVal 0, "C:\Eric\Cursor", ByVal 0, 2, D3DColorARGB(&HFF&, 0, 255, 255), ByVal 0 Device.SetCursorProperties 1, 1, Cursor
2) Can someone show me some arguments to Device.CreateCubeTexture that do not cause an error!? This line causes an error:
Why?Code:Set Highlight = Device.CreateCubeTexture(64,1,D3DUSAGE_DEPTHSTENCIL, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED)





Reply With Quote