AnalyticalGraphicsInc/cesium — pull request #841 by chris-cooper (2013-06-06 00:25:32+00:00)
Title: expose WebGL context options in Scene constructor

In order to capture a WebGL canvas using canvas.toDataURL() in Chrome the option preserveDrawingBuffer is required to be set on WebGL context creation [1]. This pull request exposes context options via the Scene constructor. Feel free to discard if you have alternate solutions in mind.

[1] http://code.google.com/p/chromium/issues/detail?id=82086