Bugfix #34895

Error in shadowbuffer with halo effect. It had render error when you look straight into
the lamp, with something in front of lamp.

The code that was sampling the shadowbuffer exited too soon (for ray going perpendicular to buffer it should take at least 1 sample).

Code from 90ies. And still got a bug fix. Whoa :)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56145 954f8c5b-7b00-dc11-b283-0030488c597c
UV unwrap: decrease ABF minimum angle, I couldn't find cases where it needs to
be this high, and give better results lower, especially with tesselated ngons.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56146 954f8c5b-7b00-dc11-b283-0030488c597c
Fix "duplicate area into new window" making the window too big with high DPI / retina.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56147 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34997: when starting the game engine in one window and switching to a second
window, the game would stop drawing in the first and mess up the OpenGL state of
the second.

Also fixes glPushAttrib/glPopAttrib getting out of sync in some cases.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56148 954f8c5b-7b00-dc11-b283-0030488c597c