|
@@ -373,7 +373,11 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
this.forceContextLoss = function () {
|
|
this.forceContextLoss = function () {
|
|
|
|
|
|
- extensions.get( 'WEBGL_lose_context' ).loseContext();
|
|
|
|
|
|
+ if (extensions.get( 'WEBGL_lose_context' )) {
|
|
|
|
+
|
|
|
|
+ extensions.get( 'WEBGL_lose_context' ).loseContext();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|