Stripped a few superfluous newlines.
Merge branch 'master' into threaded_rendering
Extracted and improved functionality to set the egl context on the render thread.
Fixed multithreaded rendering on devices without KHR_surfaceless_context / OES_surfaceless_context. Creates a 1x1 off-screen pixel buffer surface for the main thread.
TODO: Consider checking for the extension(s) and fall back to passing EGL_NO_SURFACE if supported.