<commit_before>/*
* This file is part of `et engine`
* Copyright 2009-2013 by <NAME>
* Please, do not modify content without approval.
*
*/

#include <et/core/tools.h>
#include <et/opengl/opengl.h>
#include <et/threading/threading.h>

using namespace et;

#define ET_STOP_ON_OPENGL_ERROR			0
#define CASE_VALUE(V)					case V: return #V;

size_t OpenGLCounters::primitiveCounter = 0;
size_t OpenGLCounters::DIPCounter = 0;
size_t OpenGLCounters::bindTextureCounter = 0;
size_t OpenGLCounters::bindBufferCounter = 0;
size_t OpenGLCounters::bindFramebufferCounter = 0;
size_t OpenGLCounters::useProgramCounter = 0;
size_t OpenGLCounters::bindVertexArrayObjectCounter = 0;

void OpenGLCounters::reset()<commit_msg>stop on OpenGL error enabled again<commit_after>/*
* This file is part of `et engine`
* Copyright 2009-2013 by <NAME>
* Please, do not modify content without approval.
*
*/

#include <et/core/tools.h>
#include <et/opengl/opengl.h>
#include <et/threading/threading.h>

using namespace et;

#define ET_STOP_ON_OPENGL_ERROR			1
#define CASE_VALUE(V)					case V: return #V;

size_t OpenGLCounters::primitiveCounter = 0;
size_t OpenGLCounters::DIPCounter = 0;
size_t OpenGLCounters::bindTextureCounter = 0;
size_t OpenGLCounters::bindBufferCounter = 0;
size_t OpenGLCounters::bindFramebufferCounter = 0;
size_t OpenGLCounters::useProgramCounter = 0;
size_t OpenGLCounters::bindVertexArrayObjectCounter = 0;

void OpenGLCounters::reset()
{'fraction_non_alphanumeric': 0.1054823039555864, 'fraction_numerical': 0.02220680083275503, 'mean_word_length': 6.357142857142857, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1755663', 'n_tokens_mistral': 539, 'n_tokens_neox': 502, 'n_words': 124}