On 06/04/2008, Luis Busquets <[EMAIL PROTECTED]> 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
((address-pFunction)+0x1)

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


Reply via email to