--- In [email protected], "John Matthews" <jm5...@...> wrote:
>
> --- In [email protected], Michael Sullivan <msulli1355@> wrote:
> >
> > ID3D10Texture2D* srcTexture[4];
> > 
> > srcTexture[4] = GetTexture2DFromFile(TEXT("./blackmage.gif"));
> 
> Array indices for array[N] are 0..N-1, so there's definitely a problem
> there.

...and because you're initialising [1..4], you're missing out [0],
hence the error when i=0 (probably).

Reply via email to