Explorar o código

Fixed texture filters example.

This got broken with recent changes in ImageUtils.loadTexture.
alteredq %!s(int64=13) %!d(string=hai) anos
pai
achega
12ff17c2ad
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      examples/webgl_materials_texture_filters.html

+ 3 - 1
examples/webgl_materials_texture_filters.html

@@ -140,7 +140,9 @@
 
 				// PAINTING
 
-				var callbackPainting = function( image ) {
+				var callbackPainting = function() {
+
+					var image = texturePainting.image;
 
 					texturePainting2.image = image;
 					texturePainting2.needsUpdate = true;