[PATCH 4/5] wined3d: Don't use the depth range clipping hack when we have ARB_depth_clamp.

Henri Verbeet hverbeet at gmail.com
Tue Jan 19 17:37:50 CST 2010


2010/1/20 Chris Robinson <chris.kcat at gmail.com>:
> I think you need to make sure glEnable(GL_DEPTH_CLAMP) gets called in
> state_clipping if you're going to bypass the depth range hack with it.
> Currently it's only called if WINED3DRS_CLIPPING is off.
>
Possibly, but it's not clear from the description of that hack that
it's required. The code certainly doesn't disable user clip planes
either.



More information about the wine-devel mailing list