Hi all, Before doing any further D3D work, we need to have proper COM tables for all interfaces (1, 2, 3 and 7). This patch cleans up all the mess that was here before and adds all the good vtables, stubs and thunks (given that a lot of people review them <g>). The underlaying OpenGL code is still the same ugly one as before, but well, at least we have a better base on which to work on (ie it should not crash anymore due to stack corruption due to bad COM vtables). Note that I only did a very light DDraw regression and no D3D regression at all. I felt it more important for the patch to be integrated as soon as possible so that other D3D-motivated people can start to work on this base instead of on the old code. Changelog: - clean up all the D3D COM handling (but the underlaying code is still as ugly as before) - handle properly (ie as on real Windows) negative values in rectangles during blitting Lionel PS: sorry for the purist who prefer inline patches.. This one is about 440 kB when uncompressed :-) -- Lionel Ulmer - http://www.bbrox.org/
Attachment:
PATCH_D3D_REVIVAL.txt.gz
Description: Binary data