Garrett Johnson преди 5 години
родител
ревизия
50926bcc3f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      example/index.js

+ 2 - 2
example/index.js

@@ -626,8 +626,8 @@ function render() {
 	if ( params.enableRendererStats ) {
 
 		const memory = renderer.info.memory;
-		const materialCount = renderer.info.programs.length;
-		str += `<br/>Geometries: ${ memory.geometries } Textures: ${ memory.textures } Materials: ${ materialCount }`;
+		const programCount = renderer.info.programs.length;
+		str += `<br/>Geometries: ${ memory.geometries } Textures: ${ memory.textures } Programs: ${ programCount }`;
 
 	}