And one more "G.main" compile fix, this time for BGE ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54323 954f8c5b-7b00-dc11-b283-0030488c597c
Fix non-progressive lamps with multiple samples not giving correct intensity after
recent fix.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54324 954f8c5b-7b00-dc11-b283-0030488c597c
Fix particle child render resolution access not working outside of the render thread,
and rename ToggleRender to set_resolution to follow RNA conventions.

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