@@ -49,7 +49,6 @@ public class Statistics {
4949 protected boolean enabled = false ;
5050
5151 protected int numObjects ;
52- protected int numLights ;
5352 protected int numTriangles ;
5453 protected int numVertices ;
5554 protected int numShaderSwitches ;
@@ -80,7 +79,6 @@ public String[] getLabels(){
8079 "Uniforms" ,
8180
8281 "Objects" ,
83- "Lights" ,
8482
8583 "Shaders (S)" ,
8684 "Shaders (F)" ,
@@ -108,19 +106,18 @@ public void getData(int[] data){
108106 data [1 ] = numTriangles ;
109107 data [2 ] = numUniformsSet ;
110108 data [3 ] = numObjects ;
111- data [4 ] = numLights ;
112109
113- data [5 ] = numShaderSwitches ;
114- data [6 ] = shadersUsed .size ();
115- data [7 ] = memoryShaders ;
110+ data [4 ] = numShaderSwitches ;
111+ data [5 ] = shadersUsed .size ();
112+ data [6 ] = memoryShaders ;
116113
117- data [8 ] = numTextureBinds ;
118- data [9 ] = texturesUsed .size ();
119- data [10 ] = memoryTextures ;
114+ data [7 ] = numTextureBinds ;
115+ data [8 ] = texturesUsed .size ();
116+ data [9 ] = memoryTextures ;
120117
121- data [11 ] = numFboSwitches ;
122- data [12 ] = fbosUsed .size ();
123- data [13 ] = memoryFrameBuffers ;
118+ data [10 ] = numFboSwitches ;
119+ data [11 ] = fbosUsed .size ();
120+ data [12 ] = memoryFrameBuffers ;
124121 }
125122
126123 /**
@@ -225,7 +222,6 @@ public void clearFrame(){
225222 fbosUsed .clear ();
226223
227224 numObjects = 0 ;
228- numLights = 0 ;
229225 numTriangles = 0 ;
230226 numVertices = 0 ;
231227 numShaderSwitches = 0 ;
@@ -290,19 +286,6 @@ public void onDeleteFrameBuffer(){
290286 memoryFrameBuffers --;
291287 }
292288
293- /**
294- * Called by the RenderManager once filtering has happened.
295- *
296- * @param lightCount the number of lights which will be passed to the materials for inclusion in rendering.
297- */
298- public void onLights (final int lightCount ) {
299- if (!enabled ) {
300- return ;
301- }
302-
303- numLights += lightCount ;
304- }
305-
306289 /**
307290 * Called when video memory is cleared.
308291 */
0 commit comments