[7/10] WineD3D: No bounds checking is done on sampler / texture numbers

H. Verbeet hverbeet at gmail.com
Mon Feb 19 09:19:48 CST 2007


On 19/02/07, Stefan Dösinger <stefan at 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.



More information about the wine-devel mailing list