crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
927 stars 83 forks source link

AntiAliasing fails to CreateDevice #118

Closed Vadru93 closed 4 years ago

Vadru93 commented 4 years ago

When try to force enable AntiAliasing in Tony Hawk's Pro Skater 3 the device fails to be created. But it works if use dxwrapper and force enable it.

I even tried to copy the code from CreateDevice in dxwrapper into d3d8to9, but still fails.

Here is the exact code that I tried to CreateDevice: https://github.com/Vadru93/LevelMod/blob/36267c07e922ba7b2c38db5be56d95c9aa869f97/source/d3d8to9/d3d8to9_base.cpp#L214

How can this be?

Vadru93 commented 4 years ago

Nevermind, it was my mistake. I was copying wrong presentparams, that's why it failed.