ddraw: D3DOP_BRANCHFORWARD includes the current instruction size.
commit5fa4de27bc780cdc54e5e20ca8ec825b7a069510
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 1 Jul 2007 11:53:29 +0000 (1 13:53 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 5 Jul 2007 17:52:01 +0000 (5 19:52 +0200)
tree65a546178b2e1edba9a87e0303ab9c44d882939b
parentc58b2f228386194476f95524270a8862d77f07e7
ddraw: D3DOP_BRANCHFORWARD includes the current instruction size.

Native D3DRM puts a branchforward with offset 0 at the beginning of each
execute buffer. With the old code this used to get stuck in an endless
loop. This patch adds a test that shows that such a branchforward
terminates properly.
dlls/ddraw/executebuffer.c
dlls/ddraw/surface.c
dlls/ddraw/tests/d3d.c