File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -278,21 +278,21 @@ var webgl_quadFeature = function (arg) {
278278 if ( ! source ) {
279279 return ;
280280 }
281-
281+
282282 // use cached texture if it exists
283283 if ( source . _texture ) {
284284 quad . texture = source . _texture ;
285285 return ;
286286 }
287-
287+
288288 // create a new texture
289289 const texture = new vgl . texture ( ) ;
290290 if ( quad . imageTexture ) {
291291 texture . setTexture ( source ) ;
292292 } else {
293293 texture . setImage ( source ) ;
294294 }
295-
295+
296296 // handle nearest pixel logic
297297 let nearestPixel = m_this . nearestPixel ( ) ;
298298 if ( nearestPixel !== undefined ) {
@@ -304,9 +304,9 @@ var webgl_quadFeature = function (arg) {
304304 if ( nearestPixel ) {
305305 texture . setNearestPixel ( true ) ;
306306 }
307-
307+
308308 quad . texture = source . _texture = texture ;
309- } ) ;
309+ } ) ;
310310 } ;
311311
312312 /**
You can’t perform that action at this time.
0 commit comments