H. Verbeet wrote:
On 19/02/07, Stefan Dösinger stefan@codeweavers.com wrote:
- if(Sampler > GL_LIMITS(sampler_stages) || Sampler < 0 || Type >
WINED3D_HIGHEST_SAMPLER_STATE || Type < 0) {
This also checked the sampler state, not just the sampler.
I would also keep some warning messages in there like WARN so we can easily see if game does something wrong.
Vitaliy