Moved the 'WINDOWS || WINRT' endif that was preventing the graphics device from being created.
Merge pull request #1757 from klutch/develop

Moved the 'WINDOWS || WINRT' endif that was preventing the graphics device from being created
Merge branch 'develop' into ts_scratch