VOGONS


First post, by shoober420

User metadata
Rank Newbie
Rank
Newbie

when playing Max Payne with dgvoodoo2 2.86.3 and Output API set to "Direct3D 12 (feature level 11.0)" or "Direct3D 12 (feature level 12.0)", Max Payne crashes with this error.

P_D3DIndexBufferManager: IndexBuffer->Lock : D3DERR_INVALIDCALL

when using Output API "Direct3D 11 (feature level 11.0)" the game wont crash

Reply 1 of 2, by lowenz

User metadata
Rank Oldbie
Rank
Oldbie

Intel GPU ? It's normal

Reply 2 of 2, by Dege

User metadata
Rank l33t
Rank
l33t

No, it's not. I got a new hw and I can also reproduce it with other stuffs.

It turns out to be a GPU-independent bug in dgVoodoo itself. Preconditions:
- D3D12 backend
- a D3D8/9 application trying to Lock a dynamic index buffer
- Win11 with D3D12 driver reporting Triangle Fan support

I fixed it. But I found another D3D12 problem with my new hw (I'm planning to do some extensive testing).
I'll release a cumulative bugfix version, I think.