wined3d: Make the condition to enter p8 conversion shader path more strict.
commit5c7f2906eeaa9825049eea53240edd71606ec103
authorAlexander Dorofeyev <alexd4@inbox.lv>
Wed, 3 Sep 2008 20:59:41 +0000 (3 23:59 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Sep 2008 10:29:35 +0000 (4 12:29 +0200)
tree04a13e1dfd57b5aaa2e1c5c3f40e6a8aad01ad90
parentec1ebfb1361a874b9edf9bb2a7c5220a1ff1e22c
wined3d: Make the condition to enter p8 conversion shader path more strict.

This prevents shader path from being entered for an offscreen surface
when there is p8 render target and fixes failures in ddraw visual test
(with opengl rendering and RTL_READDRAW mode) and visual glitches in
Red Alert.
dlls/wined3d/surface.c