http://bugs.winehq.org/show_bug.cgi?id=18895
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2009-06-12 03:28:33 --- Could you check the return values for DeletePixelShader() as well? It would probably make sense to extend test_shader() in device.c. As for fixing this, we probably just need to store the handle type as well instead of just a pointer to the object. I'll write a patch for that.