enables profiling by replacing the gl20 and gl30 instances with profiling ones . concode_field_sep GLErrorListener listener concode_elem_sep FloatCounter vertexCount concode_elem_sep int calls concode_elem_sep int textureBindings concode_elem_sep int drawCalls concode_elem_sep int shaderSwitches concode_field_sep void disable concode_elem_sep boolean isEnabled concode_elem_sep void reset concode_elem_sep String resolveErrorNumber
void function ( ) { if ( ! isEnabled ( ) ) { Gdx . gl30 = Gdx . gl30 == null ? null : new GL30Profiler ( Gdx . gl30 ) ; Gdx . gl20 = Gdx . gl30 != null ? Gdx . gl30 : new GL20Profiler ( Gdx . gl20 ) ; Gdx . gl = Gdx . gl20 ; } }