wined3d: Sampler states are 1-based.
commiteb3c81fd6913385174202a37f47af052b8185d03
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 2 Jun 2010 09:24:54 +0000 (2 11:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Jun 2010 09:53:39 +0000 (2 11:53 +0200)
tree77d354c4a9ad4fe3809d43e8ce9d437f87845e4f
parent46e231cc85c2940ef98e1f99920775505ffa9525
wined3d: Sampler states are 1-based.

0 isn't a valid sampler state, and including it would overflow the
stateblock's contained_sampler_states array in
stateblock_init_contained_states().
dlls/wined3d/stateblock.c