Issue with control rendering

Oct 10, 2010 at 11:43 PM
Edited Oct 11, 2010 at 1:39 AM

I was testing out the xna 4.0 gui demo (from r1242) and it's having some issues with drawing things outside of their control containers. Seems like whatever method is being used to clip the child doesn't work.

Here's a screenshot of the issue

I'm on Windows 7 x64 with an ati card.


edit: Checking the svn changelog I see "scissor test clipping for GUI controls now works again in XNA 4.0 (thanks @Nick Gravelyn!)", going to try building the latest revision and see if it still happens.

edit2: Still seems to happen with r1246, GetAbsoluteBounds seems correct, so i think it might be SetClipRegion that's failing somehow.

edit3: nevermind, got it working by copying my built userinterface dll into the demo solution's references folder, guess they were out of date.