Don't explicitly set LIBGL_DRIVERS_PATH by default; breaks autodetection
Fix shader compilation/out-of-spec issues
Merge remote-tracking branch 'upstream/master'

Conflicts:
	indra/llrender/llshadermgr.cpp (resolved)
Attempt to fix linking issues
I really really hate you microsoft. More windows sdk cmake poke
Warning fix
Merge branch 'master' of https://github.com/LightDrake/SingularityViewer
Fix a Clang error
Unbreak OSX Make File builds
Merge branch 'master' of https://github.com/LightDrake/SingularityViewer
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
[Warnings] Fix linux32 warnings again (missed some spots)
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
Breaking pad: restore 'Ask' preference for sending reports, cleanup remaining out-of-process bits
Don't log debug level info during shader loading
Fix crash signature 140
Add AIStateMachine::mSMDebug

The patch is exclusively libcwd related.

Turns off output from statemachines to dc::statemachine by default.
Allows to turn on the debug output on a per statemachine basis (at
compile time).
Add AIStateMachine::yield_if_not

This can be used to switch to a specific engine.
If the state machine is not running in the passed engine,
then it performs a yield to that engine, otherwise it keeps
running. Hence, putting this at the top of a state
guarantees that it runs in that engine.

For example:

    case FrontEnd_done:
    {
      // Unlock must be called by the same thread that locked it.
      if (yield_if_not(&gStateMachineThreadEngine))
      {
        break;
      }
      // Here we are running in gStateMachineThreadEngine.
    ...