Am Mittwoch, 30. April 2008 07:21:19 schrieb Jens Albretsen:
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 or what?
Take a look at dlls/d3d9/tests/visual.c
Also, instead of setting the depth range to min;min + 1 it might be better to fall back to the no-depth-range codepath that is used if the app ever drawed untransformed geomentry. That's the device->untransformed check near the glOrtho calls.