d3dx9: Implementation of D3DXGetShaderSize 2/3

H. Verbeet hverbeet at gmail.com
Sun Apr 6 15:40:53 CDT 2008

On 06/04/2008, Luis Busquets <luis.busquets at ilidium.com> wrote:
> The +1 of the end is because finally address points to the end token. So +1
> is the end token. This function has been tested with all shaders of
> Civilization 4 and has responded successfully.
My bad, I misread that as (address-(pFunction+0x1)) instead of

> +    while (*address!=D3DVS_END()) {
I do think D3DSIO_END would be more appropriate here.

More information about the wine-devel mailing list