It's working now.
V(pd3dDevice->CreateOffscreenPlainSurface(imageInfo.Width, imageInfo.Height, D3DFMT_X8R8G8B8, D3DPOOL_DEFAULT, &surface, NULL));
Problem was in the imageInfo.Width and the imageInfo.Height.
Evil Steve, thanks for everything.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement