|
@@ -381,6 +381,12 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ this.getContextAttributes = function () {
|
|
|
|
+
|
|
|
|
+ return _gl.getContextAttributes();
|
|
|
|
+
|
|
|
|
+ };
|
|
|
|
+
|
|
this.forceContextLoss = function () {
|
|
this.forceContextLoss = function () {
|
|
|
|
|
|
extensions.get( 'WEBGL_lose_context' ).loseContext();
|
|
extensions.get( 'WEBGL_lose_context' ).loseContext();
|