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-(pFunctio
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.
The attached patch has included the suggestions.
H. Verbeet escribió:
On 06/04/2008, Luis Busquets <[
On 06/04/2008, Luis Busquets <[EMAIL PROTECTED]> wrote:
> This function obtains the size of a shader bytestream. It does so looking
> for the End token.
>
>+UINT D3DXGetShaderSize(DWORD * pFunction)
I would expect this to take a const pointer. Also, there's no reason
to use Microsoft's (broken) na