by Digby » Sep 12, 2001 @ 8:19pm
You should not assume that one device or another is landscape, portrait, or a particular size. Call GXGetDisplayProperties to query what the particular device supports.<br><br>On a native landscape display oriented as portrait, the right edge is the end of the linear frame buffer. This means that if you copy memory to the right of the edge, you'll be writing into memory that doesn't belong to your process. You'll end up corrupting the display controller or if you're lucky generating an access violation. Add some clipping code and you shouldn't see this problem.<br><br><br><br>