wined3d: Fix for buggy programs using ortho matrix with no z range
jens at albretsen.dk
Wed Apr 30 00:21:19 CDT 2008
On Tuesday 29 April 2008 22:25:48 Stefan Dösinger wrote:
> Am Dienstag, 29. April 2008 19:04:55 schrieb Jens Albretsen:
> > Changelog:
> > Fix for old games that sets a Ortho matrix with z range from 0-0 or in
> > other word with no range, which does'nt make any sense but they do it
> > anyway.
> I think a test case for this would be good.
A quick one is Lego Island, just forget to put in the disc a there is black
screen, with this patch is shows a message to put the cdrom in the drive.
Is it something like this?
create (1,1) rendertarget
clear rendertarget with black
setup ortho with no range
draw something with white
check rendertarget for any pixel drawn, if black test fails
More information about the wine-devel