• Stefan Dösinger's avatar
    wined3d: Correct an off-by-one error in constant dirtification. · 9be8f36c
    Stefan Dösinger authored
    Constant numbers start at 0, and the loading loop has a for(i; i <
    dirtyconsts; i++). This means that the highest dirty constant isn't
    loaded correctly. Rather than replacing the < with <=, which would
    make it impossible to have no dirty constant, add 1 to the dirty
    constant counter.
    9be8f36c
arb_program_shader.c 85.4 KB