2008/12/17 Pauli Nieminen suokkos@gmail.com:
On Wed, Dec 17, 2008 at 10:51 AM, Henri Verbeet hverbeet@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.