[PATCH] wined3d: Implement check for shader creation if hardware supports requested version.

Henri Verbeet hverbeet at gmail.com
Wed Dec 17 04:38:43 CST 2008


2008/12/17 Pauli Nieminen <suokkos at gmail.com>:
> On Wed, Dec 17, 2008 at 10:51 AM, Henri Verbeet <hverbeet at gmail.com> wrote:
>> If creation succeeds, you need to Release the shader again. Same goes
>> for the pixel shader version of this function.
>
> I tried  to search for example of releasing shaders from the test file but
> when I couldn't find any. Should others test in that file also include
> shader release?
>
They should, although you're right that they don't. It's not as much
of an issue in these test since we don't do any fullscreen tests here,
but if the device still has references to it at the end of the test it
won't be released properly and won't restore the display mode.



More information about the wine-devel mailing list