• Stefan Dösinger's avatar
    wined3d: Don't emulate clipplanes with ffp vp and fix a wrong if condition. · 85af0b29
    Stefan Dösinger authored
    b2f09fd2 accidentally got the
    device->vs_clipping check wrong. The FFP replacement should emulate
    clipping if GL can't do this natively with vertex shaders, not the
    other way. Also don't emulate clipping if we're using fixed function
    vertex processing because (a) clipping is always supported by GL in
    this case, and (b), fragment.texcoord[7] is undefined. (Or in the
    worst case set to something bad by the app).
    85af0b29
wined3d_private.h 104 KB