<commit_before>#include <parg.h>
#include "pargl.h"

int _par_depthtest = 0;

void par_state_clearcolor(Vector4 color)
{
    glClearColor(color.x, color.y, color.z, color.w);
}

void par_state_cullfaces(int enabled)
{
    (enabled ? glEnable : glDisable)(GL_CULL_FACE);
}

void par_state_depthtest(int enabled)
{
    (enabled ? glEnable : glDisable)(GL_DEPTH_TEST);
    _par_depthtest = enabled;
}

void par_state_blending(int enabled)
{
    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    (enabled ? glEnable : glDisable)(GL_BLEND);
    _par_depthtest = enabled;
}<commit_msg>Fix par_state_blending.<commit_after>#include <parg.h>
#include "pargl.h"

int _par_depthtest = 0;

void par_state_clearcolor(Vector4 color)
{
    glClearColor(color.x, color.y, color.z, color.w);
}

void par_state_cullfaces(int enabled)
{
    (enabled ? glEnable : glDisable)(GL_CULL_FACE);
}

void par_state_depthtest(int enabled)
{
    (enabled ? glEnable : glDisable)(GL_DEPTH_TEST);
    _par_depthtest = enabled;
}

void par_state_blending(int enabled)
{
    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    (enabled ? glEnable : glDisable)(GL_BLEND);
}
{'fraction_non_alphanumeric': 0.11759581881533102, 'fraction_numerical': 0.003484320557491289, 'mean_word_length': 5.313186813186813, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4570758', 'n_tokens_mistral': 459, 'n_tokens_neox': 461, 'n_words': 75}