On Sun, May 26, 2019, 9:26 AM Aaryaman Vasishta jem456.vasishta@gmail.com wrote:
On Sun, May 26, 2019 at 10:13 PM Stefan Dösinger < stefandoesinger@gmail.com> wrote:
Am 24.05.19 um 20:28 schrieb Jeff Smith:
I found it very odd myself, but I could not find a way to make it do anything else, and the only documentation I found on the method just says "Not implemented on the Windows platform."
If I remember right when mentoring Aaryaman's GSoC project it only succeeded for an RGB device or something along those lines. It is quite possible though that CreateDevice fails while other ways (like CreateDeviceFromSurface, CreateDeviceFromD3D etc) succeed. This could be caused by d3drm trying to create a surface that's not supported on "modern" ddraw drivers for some reason.
The interesting platform to test d3drm stuff would be Windows 9.x, and maybe Windows 2000/XP. The DLL got removed from Vista, and only ancient games use it.
The interesting thing is that the tests are passing in 2000/XP as well.
I don't specifically remember why we skipped implementing CreateDevice earlier. I'll reply here if I do get more details about that.
By the way, which bug is CreateDevice related to?
I just ran across this when developing test code for other parts of d3drm that I am looking to implement.