File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
arcgis_map_sdk_web/lib/src Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,16 @@ class ArcgisMapWebController {
264
264
final webgl2 = canvasElement? .getContext ('webgl2' );
265
265
266
266
if (webgl != null ) {
267
- (webgl as WebGLRenderingContext ).getCustomExtension ('WEBGL_lose_context' )? .loseContext ();
267
+ (webgl as WebGLRenderingContext )
268
+ .getCustomExtension ('WEBGL_lose_context' )
269
+ ? .loseContext ();
268
270
webgl.getCustomExtension ('WEBGL_lose_context' )? .restoreContext ();
269
271
}
270
272
271
273
if (webgl2 != null ) {
272
- (webgl2 as WebGLRenderingContext ).getCustomExtension ('WEBGL_lose_context' )? .loseContext ();
274
+ (webgl2 as WebGLRenderingContext )
275
+ .getCustomExtension ('WEBGL_lose_context' )
276
+ ? .loseContext ();
273
277
webgl2.getCustomExtension ('WEBGL_lose_context' )? .restoreContext ();
274
278
}
275
279
}
You can’t perform that action at this time.
0 commit comments