[4/8] WineD3D: Prepare only fixed function samplers for blit

H. Verbeet hverbeet at gmail.com
Wed Feb 28 11:36:50 CST 2007


On 28/02/07, Stefan Dösinger <stefan at codeweavers.com> wrote:
>+        /* The blitting code uses (for now) the fixed function
pipeline, so make sure to reset all fixed
>+         * function texture unit. No need to care for higher samplers
>+         */
>+        for(i = GL_LIMITS(texture_stages) - 1; i > 0 ; i--) {
You should use GL_LIMITS(textures) here, since that's the number of
fixed function texture units.



More information about the wine-patches mailing list