edgar-mtz-e / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Device.Present with empty rectangles displays nothing #297

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using Device.Present with swap chains to display
content to more than one window. When I use Rectangle.Empty
for source and destination rectangle nothing is displayed.
I have to use this overload to specify the other window handles.

With standard directx it is specified that when the rects are NULL
it copies the complete surface, perhaps a bit code to test
the given rectangles against Rectangle.Empty would be nice.

Original issue reported on code.google.com by DerPudel...@gmail.com on 7 Jul 2008 at 9:27

GoogleCodeExporter commented 9 years ago
Accepted.

Original comment by Mike.Popoloski on 7 Jul 2008 at 11:17

GoogleCodeExporter commented 9 years ago
Mike, ping me before you commit a fix for this.

Original comment by josh.petrie on 7 Jul 2008 at 7:36

GoogleCodeExporter commented 9 years ago
Sorry Josh, I didn't see this until I had already made the commit. :(

Original comment by Mike.Popoloski on 7 Jul 2008 at 8:45