On Sat, 2009-02-28 at 21:07 +0000, John Matthews wrote:
> --- 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).

The array index was the problem.  I had numbered them 1-4.  That's a
beginner's mistake.  It does what I wanted it to now.
> 

Reply via email to