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 {
264264 final webgl2 = canvasElement? .getContext ('webgl2' );
265265
266266 if (webgl != null ) {
267- (webgl as WebGLRenderingContext ).getCustomExtension ('WEBGL_lose_context' )? .loseContext ();
267+ (webgl as WebGLRenderingContext )
268+ .getCustomExtension ('WEBGL_lose_context' )
269+ ? .loseContext ();
268270 webgl.getCustomExtension ('WEBGL_lose_context' )? .restoreContext ();
269271 }
270272
271273 if (webgl2 != null ) {
272- (webgl2 as WebGLRenderingContext ).getCustomExtension ('WEBGL_lose_context' )? .loseContext ();
274+ (webgl2 as WebGLRenderingContext )
275+ .getCustomExtension ('WEBGL_lose_context' )
276+ ? .loseContext ();
273277 webgl2.getCustomExtension ('WEBGL_lose_context' )? .restoreContext ();
274278 }
275279 }
You can’t perform that action at this time.
0 commit comments