wined3d: Update clip planes when switching to/from offscreen rendering.

Henri Verbeet hverbeet at gmail.com
Mon Jan 31 08:57:21 CST 2011


On 31 January 2011 15:45, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Am 31.01.2011 um 15:13 schrieb Matteo Bruni:
>
>> It should fix http://bugs.winehq.org/show_bug.cgi?id=25877
>> <0001-wined3d-Update-clip-planes-when-switching-to-from-offs.txt>
> If we change the shader code to write gl_ClipVertex and result.clip before applying the y inversion then we should be able to avoid this. That should also make it more compatible to fixed function vertex processing - here the clipping is performed before the projection matrix is applied.

Wouldn't it still have to be after the half-pixel offset is applied though?



More information about the wine-devel mailing list